/*
 * Adsrek Pay — Redesign v1.9
 * Sidebar wallet identity: show full AR wallet.
 * UI only.
 */

/* Desktop sidebar gets a little more room */
@media (min-width:1121px){
  :root{--pc-sidebar:324px!important}

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

  .pc-wallet-identity{
    align-items:flex-start!important;
    min-height:76px!important;
    padding:14px 15px!important;
    gap:10px!important;
  }

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

  /* Main fix: no ellipsis on the wallet number */
  .pc-wallet-identity__copy strong{
    display:block!important;
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:normal!important;
    word-break:break-all!important;
    line-height:1.12!important;
    font-size:14px!important;
    letter-spacing:.02em!important;
  }

  .pc-wallet-identity__copy span{
    margin-bottom:2px!important;
  }

  .pc-wallet-identity__actions{
    flex:0 0 auto!important;
    align-self:flex-start!important;
    gap:6px!important;
  }

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

/* Medium desktop: still keep full wallet visible */
@media (min-width:1121px) and (max-width:1320px){
  :root{--pc-sidebar:306px!important}

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

/* Tablet/mobile offcanvas sidebar */
@media (max-width:1120px){
  .pc-wallet-identity{
    align-items:flex-start!important;
  }
  .pc-wallet-identity__copy{
    min-width:0!important;
    flex:1 1 auto!important;
  }
  .pc-wallet-identity__copy strong{
    display:block!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:normal!important;
    word-break:break-all!important;
    line-height:1.14!important;
  }
  .pc-wallet-identity__actions{
    flex:0 0 auto!important;
    align-self:flex-start!important;
  }
}

/* Keep other sidebar labels from clipping harshly */
.pc-sidenav a span{
  overflow:visible!important;
  text-overflow:clip!important;
}
