/* mysabak · wallet styles. Loaded after base.css. */

.wallet__main { display: flex; flex-direction: column; gap: 28px; }
/* Your mysabak card */
.wcard {
  flex: 1 1 100%; min-width: 0; overflow: hidden; padding: 20px; border-radius: 22px; min-height: 176px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  background: linear-gradient(135deg, #2a0a52, #5b1c8f 55%, #8e3fc9); box-shadow: 0 18px 40px -18px rgba(62, 18, 112, .7);
}
.wcard::before { content: ""; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 196, 108, .35), transparent); pointer-events: none; }
.wcard__top { display: flex; align-items: center; justify-content: space-between; }
.wcard__brand { font: 800 19px var(--font-body); letter-spacing: -.02em; }
.wcard__chip { width: 38px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, #ffe29a, #e3933f); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.wcard__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wcard__nums p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.wcard__nums span { font-size: 12.5px; color: #e2d0f4; }
.wcard__nums b { font: 800 30px/1.1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wcard__zero { color: #ffd36b; }
.wcard__foot { margin: 0; font-size: 12.5px; color: #e2d0f4; }
.wsec__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 17px; font-weight: 700; color: var(--navy); }
.wpays { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wpay { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 6px; text-align: center; }
.wpay + .wpay { border-left: 1px solid var(--line-brand); }
.wpay__icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; }
.wpay__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wpay__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.wpay__hint { font-size: 12px; line-height: 1.35; color: var(--sub); }
.wpays--soon { display: flex; flex-direction: column; gap: 8px; }
.wpays--soon .wpay { flex-direction: row; gap: 12px; padding: 10px 12px; text-align: left; border: 1.5px dashed #d9c6f0; border-radius: 14px; }
.wpays--soon .wpay__icon { width: auto; height: auto; background: none; }
.wpays--soon .wpay__icon .icon { width: 20px; height: 20px; stroke: var(--muted); }
.wpays--soon .wpay__name { font-weight: 600; }
.wtips { padding-top: 18px; border-top: 1px solid var(--line-brand); }
.wtips__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wtips__head .wsec__title { margin: 0; }
.wtips__total { font-size: 13px; color: var(--sub); white-space: nowrap; }
.wtips .empty { padding: 6px 0 0; text-align: left; }
.wtips__foot { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
/* Recent payments */
.wrecent { flex: 1 1 100%; min-width: 0; padding-top: 18px; border-top: 1px solid var(--line-brand); }
.wrecent__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.wrecent__head .wsec__title { margin: 0; }
.wrecent__filter { display: flex; gap: 6px; }
.wfilter { height: 44px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-brand); background: none; font-size: 13px; font-weight: 600; color: var(--sub); cursor: pointer; }
.wfilter:hover { border-color: var(--brand); }
.wfilter[aria-pressed="true"] { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.wrecent__list { list-style: none; margin: 0; padding: 0; }
.wrecent__list > li + li { border-top: 1px solid var(--line); }
.wrecent__row { display: flex; align-items: center; gap: 12px; min-height: 60px; text-decoration: none; color: inherit; }
.wrecent__row > .icon { width: 20px; height: 20px; stroke: var(--brand-deep); stroke-width: 1.9; }
.wrecent__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wrecent__text b { font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrecent__text span { font-size: 12.5px; color: var(--sub); }
.wrecent__end { font-size: 14.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.wrecent__chev { width: 16px; height: 16px; stroke: var(--sub); }
.wrecent__row:hover .wrecent__text b { color: var(--brand-deep); }
.wrecent__all { display: inline-flex; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--brand-deep); text-decoration: none; }
@media (min-width: 900px) {
.page--wallet .page-head { background: none; }
.wrecent { padding-top: 22px; }
/* desktop Wallet: the whole page is sky */
.page--wallet .app { background: linear-gradient(165deg, #1e0638, #4a1680 55%, #7b3fbf); }
.page--wallet .content__inner { min-height: 100%; }
.wallet__main { flex: 999 1 480px; min-width: 0; gap: 0; }
.wallet__main .wsec + .wsec { margin-top: 14px; padding-top: 20px; border-top: 1px solid var(--line-brand); }
.wsec__title { margin-bottom: 4px; }
.wpays, .wpays--soon { display: flex; flex-direction: column; gap: 0; }
.wpays .wpay, .wpays--soon .wpay { flex-direction: row; gap: 14px; height: 54px; padding: 0; text-align: left; border: 0; border-radius: 0; }
.wpays .wpay + .wpay { border-top: 1px solid var(--line); }
.wpay__icon { width: auto; height: auto; background: none; }
.wpay__text { flex: 1; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.wpay__name { font-size: 15px; font-weight: 600; }
.wpay__hint { font-size: 13px; text-align: right; }
.wpays--soon .wpay__name, .wpays--soon .wpay__hint { color: var(--sub); }
.wtips { flex: 1 1 260px; min-width: 0; padding: 0 0 0 40px; border-top: 0; border-left: 1px solid var(--line-brand); }
.wtips__head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
