/*
 * Adsrek Pay — Redesign v1.9.2
 * Restore the original compact desktop sidebar (~250px),
 * while keeping the full AR wallet visible.
 * UI only.
 */

@media (min-width:1121px){
  :root{
    --pc-sidebar:250px!important;
    --rd-sidebar:250px!important;
  }

  .pc-workspace{
    grid-template-columns:250px minmax(0,1fr)!important;
    gap:18px!important;
  }

  .pc-sidebar{
    width:250px!important;
    min-width:250px!important;
    max-width:250px!important;
  }

  .pc-sidebar__inner{
    padding:10px!important;
    border-radius:18px!important;
    gap:8px!important;
  }

  .pc-wallet-identity{
    width:100%!important;
    min-width:0!important;
    min-height:64px!important;
    padding:11px 10px!important;
    gap:6px!important;
    border-radius:14px!important;
    align-items:center!important;
  }

  .pc-wallet-identity__copy{
    min-width:0!important;
    flex:1 1 auto!important;
    padding:0!important;
  }

  .pc-wallet-identity__copy span{
    margin:0 0 3px!important;
    font-size:8px!important;
    letter-spacing:.09em!important;
  }

  /* Full wallet without widening the sidebar */
  .pc-wallet-identity__copy strong{
    display:block!important;
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    word-break:normal!important;
    font-size:12px!important;
    line-height:1.1!important;
    letter-spacing:0!important;
  }

  .pc-wallet-identity__actions{
    flex:0 0 auto!important;
    gap:4px!important;
  }

  .pc-wallet-identity__actions button,
  .pc-wallet-identity__actions a{
    width:27px!important;
    height:27px!important;
    min-width:27px!important;
    border-radius:8px!important;
    font-size:11px!important;
  }

  .pc-side-balances{
    gap:5px!important;
    margin-top:8px!important;
  }

  .pc-side-balance{
    min-width:0!important;
    padding:8px 6px!important;
  }

  .pc-side-balance__code{
    font-size:7.5px!important;
  }

  .pc-side-balance__amount{
    font-size:10px!important;
  }

  .pc-sidenav{
    padding:6px!important;
    gap:2px!important;
  }

  .pc-sidenav a{
    min-height:40px!important;
    padding:0 8px!important;
    gap:8px!important;
    font-size:12px!important;
  }

  .pc-sidenav a i{
    width:27px!important;
    height:27px!important;
    flex:0 0 27px!important;
    font-size:12px!important;
  }
}

/* Same proportions as the older compact layout on narrower desktop */
@media (min-width:1121px) and (max-width:1320px){
  :root{
    --pc-sidebar:235px!important;
    --rd-sidebar:235px!important;
  }

  .pc-workspace{
    grid-template-columns:235px minmax(0,1fr)!important;
    gap:16px!important;
  }

  .pc-sidebar{
    width:235px!important;
    min-width:235px!important;
    max-width:235px!important;
  }

  .pc-wallet-identity__copy strong{
    font-size:11.4px!important;
  }

  .pc-wallet-identity__actions button,
  .pc-wallet-identity__actions a{
    width:25px!important;
    height:25px!important;
    min-width:25px!important;
  }
}

/* Do not alter the mobile/off-canvas width */
@media (max-width:1120px){
  .pc-sidebar{
    max-width:none!important;
  }
}
