/* My wallet (/wallet) and the top-up result page - redesigned 2026-09-18. Scoped to .wl / .wr. */
.wl { --wl-green: #1f3b2c; --wl-lime: #72b01d; --wl-ink: #1f2933; --wl-muted: #6b7785; --wl-line: #eceff3;
	background: #f2f2f2; padding: 22px 0 48px; }
.wl-wrap { max-width: 680px; margin: 0 auto; }
.wl-title { font-size: 26px; font-weight: 700; margin: 0 0 14px; }
.wl-card { background: #fff; border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.wl-h2 { font-size: 17px; font-weight: 800; margin: 0 0 12px; color: var(--wl-ink); }
.wl-muted { color: var(--wl-muted); font-size: 13px; }
.wl-empty { text-align: center; padding: 32px 18px; }
.wl-empty i { font-size: 34px; color: #9aa5b1; }
.wl-empty p { margin: 10px 0 16px; }

.wl-balance { position: relative; background: linear-gradient(135deg, #1f3b2c 0%, #2f5a3f 100%); color: #fff; border-radius: 16px;
	padding: 20px 20px 18px; margin-bottom: 14px; box-shadow: 0 6px 18px rgba(31,59,44,.25); overflow: hidden; }
.wl-balance::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(114,176,29,.22); }
.wl-balance-label { display: block; font-size: 13px; opacity: .85; }
.wl-balance-amt { display: block; font-size: 38px; font-weight: 800; letter-spacing: .3px; margin: 2px 0 6px; font-variant-numeric: tabular-nums; }
.wl-balance-note { display: block; font-size: 13px; opacity: .85; max-width: 70%; }
.wl-balance-btn { position: absolute; right: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
	background: var(--wl-lime); color: #fff; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.wl-balance-btn:hover { color: #fff; background: #63991a; }

.wl-due { display: flex; gap: 10px; background: #fff4dc; border: 1px solid #f0d596; color: #5c3b00; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.wl-due i { font-size: 18px; margin-top: 1px; }
.wl-due a { font-weight: 700; color: #5c3b00; white-space: nowrap; }

ul.wl-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 14px; }
ul.wl-chips li { display: inline-block; min-width: 0; margin: 0; padding: 8px 16px; border: 1px solid #d5dbe3; border-radius: 999px; font-size: 15px;
	font-weight: 700; cursor: pointer; background: #fff; color: var(--wl-ink); }
ul.wl-chips li:hover { background: #f7f9f5; color: var(--wl-ink); }
ul.wl-chips li.is-on { background: var(--wl-green); border-color: var(--wl-green); color: #fff; }
.wl-label { display: block; font-size: 13px; font-weight: 600; color: #3e4c59; margin-bottom: 6px; }
.wl-amt { display: flex; align-items: center; border: 1px solid #d5dbe3; border-radius: 12px; overflow: hidden; }
.wl-amt:focus-within { border-color: var(--wl-lime); box-shadow: 0 0 0 3px rgba(114,176,29,.18); }
.wl-amt span { padding: 0 4px 0 14px; font-size: 20px; font-weight: 700; color: var(--wl-ink); }
.wl-amt input.form-control { border: 0; box-shadow: none; font-size: 20px; font-weight: 700; height: 50px; padding-left: 4px; }
.wl-hint { margin: 6px 0 12px; color: var(--wl-muted); font-size: 13px; }
.wl-pay { width: 100%; background: var(--wl-green); color: #fff; font-weight: 700; font-size: 16px; padding: 12px; border-radius: 12px; }
.wl-pay:hover { background: #16301f; color: #fff; }

.wl-hist-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.wl-hist-head .wl-h2 { margin: 0; }
.wl-filters { display: flex; gap: 6px; }
.wl-filters button { border: 1px solid #d5dbe3; background: #fff; border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 600; color: #333; }
.wl-filters button.is-on { background: var(--wl-ink); border-color: var(--wl-ink); color: #fff; }
.wl-list { list-style: none; padding: 0; margin: 0; }
.wl-month { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--wl-muted); padding: 14px 0 4px; }
.wl-txn { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--wl-line); }
.wl-txn:last-child { border-bottom: 0; }
.wl-ic { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.wl-txn.is-in .wl-ic { background: #e8f3e9; color: #1f5f23; }
.wl-txn.is-out .wl-ic { background: #eef1f5; color: #3e4c59; }
.wl-txn-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wl-txn-title { font-weight: 600; font-size: 14.5px; color: var(--wl-ink); line-height: 1.3; }
.wl-txn-main a { color: var(--wl-muted); text-decoration: underline; }
.wl-txn-amt { text-align: right; display: flex; flex-direction: column; white-space: nowrap; }
.wl-txn-amt strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.wl-txn.is-in .wl-txn-amt strong { color: #1f5f23; }
.wl-txn.is-out .wl-txn-amt strong { color: var(--wl-ink); }
.wl-none, .wl-foot { margin: 10px 0 0; }

.wl-faq details { border-top: 1px solid var(--wl-line); }
.wl-faq details:first-of-type { border-top: 0; }
.wl-faq summary { list-style: none; cursor: pointer; padding: 11px 0; font-weight: 600; font-size: 14.5px; display: flex; justify-content: space-between; gap: 10px; }
.wl-faq summary::-webkit-details-marker { display: none; }
.wl-faq summary::after { content: "+"; font-weight: 700; color: var(--wl-muted); }
.wl-faq details[open] summary::after { content: "\2212"; }
.wl-faq details p { margin: 0 0 12px; color: #444; font-size: 14px; }
.wl-help { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; color: #1f5f23; text-decoration: none; }

@media (max-width: 575px) {
	.wl { padding-top: 14px; }
	.wl-title { font-size: 22px; }
	.wl-card { padding: 14px; }
	.wl-balance-amt { font-size: 32px; }
	.wl-balance-note { max-width: 100%; margin-bottom: 44px; }
}

/* top-up result (views/et22/lightpages/wallet.php) */
.wr { padding: 28px 0 36px; }
.wr-card { max-width: 420px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 26px 22px; text-align: center; box-shadow: 0 2px 14px rgba(0,0,0,.07); }
.wr-ic { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 10px; }
.wr.is-ok .wr-ic { background: #e8f3e9; color: #1f5f23; }
.wr.is-fail .wr-ic { background: #fdeceb; color: #b42318; }
.wr h1 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.wr p { color: #555; margin: 0 0 6px; }
.wr .wr-bal { font-size: 15px; margin: 12px 0 18px; }
.wr .wr-bal strong { font-size: 20px; color: #1f3b2c; }
.wr .btn { width: 100%; border-radius: 12px; padding: 11px; font-weight: 700; margin-top: 8px; }
.wr .wr-primary { background: #1f3b2c; color: #fff; }
.wr .wr-primary:hover { background: #16301f; color: #fff; }
.wr small { display: block; margin-top: 12px; color: #6b7785; }
