/*
 * Adsrek Pay — Unified UI Redesign v1.2
 * Real-browser polish: wallet labels + dashboard CTA contrast.
 * UI only.
 */

/* Dashboard actions: old v148 selector had higher specificity and forced white text. */
.db-balance__actions .ap-btn{
  min-height:40px!important;
  padding:0 15px!important;
  border-radius:11px!important;
  font-weight:850!important;
}
.db-balance__actions .ap-btn:not(.ap-btn--ghost){
  background:var(--rd-primary)!important;
  color:#fff!important;
  border-color:var(--rd-primary)!important;
  box-shadow:0 7px 18px color-mix(in srgb,var(--rd-primary) 18%,transparent)!important;
}
.db-balance__actions .ap-btn:not(.ap-btn--ghost):hover{
  background:var(--rd-primary-hover)!important;
  border-color:var(--rd-primary-hover)!important;
}
.db-balance__actions .ap-btn--ghost{
  background:var(--rd-surface-2)!important;
  color:var(--rd-text-strong)!important;
  border-color:var(--rd-border)!important;
}
.db-balance__actions .ap-btn--ghost:hover{
  background:var(--rd-primary-soft)!important;
  color:var(--rd-primary)!important;
  border-color:color-mix(in srgb,var(--rd-primary) 42%,var(--rd-border))!important;
}

/* Wallet currency cards: badge carries currency code, title should not repeat it. */
.wallet-card__currency{
  gap:10px!important;
  font-size:14px!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
}
.wallet-card__currency i{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:12px!important;
  font-size:13px!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
}
.wallet-card__currency > span{
  font-size:16px!important;
  color:var(--rd-text-strong)!important;
}
.wallet-card strong{
  margin-top:16px!important;
  font-size:23px!important;
}
.wallet-card strong small{
  font-size:10px!important;
  color:var(--rd-muted)!important;
  letter-spacing:.03em!important;
}
.wallet-card__state{
  padding:5px 8px!important;
  border-radius:999px!important;
  background:var(--rd-green-soft)!important;
  color:var(--rd-green)!important;
}
.wallet-card--selectable{
  min-height:178px!important;
}
.wallet-card--selectable.is-selected{
  border-color:color-mix(in srgb,var(--rd-primary) 72%,var(--rd-border))!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--rd-primary) 22%,transparent),var(--rd-shadow-sm)!important;
}
.wallet-card__select-hint{
  margin-top:12px!important;
  padding-top:11px!important;
  border-top:1px solid var(--rd-border)!important;
}

/* Light theme dashboard secondary actions need clear definition. */
html:not([data-theme="dark"]) .db-balance__actions .ap-btn--ghost{
  background:#f2f6fb!important;
  color:#18314f!important;
  border-color:#d7e2ee!important;
}
html:not([data-theme="dark"]) .db-balance__actions .ap-btn--ghost:hover{
  background:#e7f0ff!important;
  color:#2468e8!important;
  border-color:#a9c5f4!important;
}

@media(max-width:680px){
  .wallet-card__currency i{width:34px!important;height:34px!important;min-width:34px!important;font-size:11px!important}
  .wallet-card__currency > span{font-size:15px!important}
  .wallet-card--selectable{min-height:160px!important}
}
