/* Wallet page ("My wallet" and the daily charity form). Loaded from Head.cshtml: <style> blocks inside the Vue-mounted page are dropped by Vue. */

.hw-wallet { --hw-olive: #69772A; --hw-olive-dark: #56621F; --hw-olive-soft: #EEF2DD; --hw-ink: #1E2A2F; --hw-muted: #5E6A6E; --hw-line: #E6E6E6; --hw-danger: #B3261E; --hw-credit: #2F6B14; color: var(--hw-ink); }
.hw-wallet .hw-head h1 { margin: 0; font-size: 30px; font-weight: 700; }
.hw-wallet .hw-head p { margin: 4px 0 0; color: var(--hw-muted); }
.hw-wallet .hw-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.hw-wallet .hw-col-main { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hw-wallet .hw-col-side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hw-wallet .hw-card { background: #FFFFFF; border: 1px solid var(--hw-line); border-radius: 20px; padding: 24px; }
.hw-wallet .hw-card h2 { margin: 0; font-size: 18px; font-weight: 700; }
.hw-wallet .hw-balance { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hw-wallet .hw-balance-label { color: var(--hw-muted); font-size: 14px; }
.hw-wallet .hw-balance-value { font-size: 34px; font-weight: 700; line-height: 1.2; }
.hw-wallet .hw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 14px; border: 0; background: var(--hw-olive); color: #FFFFFF; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.hw-wallet .hw-btn:hover { background: var(--hw-olive-dark); color: #FFFFFF; text-decoration: none; }
.hw-wallet .hw-btn-ghost { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 12px; background: #FFFFFF; border: 1px solid #D0D0D0; color: var(--hw-ink); font-weight: 600; text-decoration: none; cursor: pointer; }
.hw-wallet .hw-btn-ghost:hover { background: #F4F7E8; color: var(--hw-ink); text-decoration: none; }
.hw-wallet .hw-btn-danger { border-color: #E8B4B0; color: var(--hw-danger); }
.hw-wallet .hw-progress { height: 10px; border-radius: 999px; background: #EFEAE0; overflow: hidden; margin-top: 14px; }
.hw-wallet .hw-progress > span { display: block; height: 100%; background: #7DA83A; border-radius: 999px; }
.hw-wallet .hw-enough { margin: 10px 0 0; color: #3B474C; }
.hw-wallet .hw-hero { background: #FCF8F3; border-color: #EFE3D4; border-radius: 24px; padding: 36px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.hw-wallet .hw-hero h2 { font-size: 26px; color: #4F5A1C; }
.hw-wallet .hw-hero p { margin: 0; color: var(--hw-muted); max-width: 460px; line-height: 1.7; }
.hw-wallet .hw-coin { width: 104px; height: 104px; border-radius: 999px; background: #F0C35A; border: 6px solid #F8E3A8; display: flex; align-items: center; justify-content: center; color: #4A3708; font-weight: 700; font-size: 18px; padding: 8px; text-align: center; line-height: 1.2; }
.hw-wallet .hw-steps { list-style: none; margin: 6px 0 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; color: #3B474C; font-size: 14px; }
.hw-wallet .hw-steps li { display: flex; align-items: center; gap: 8px; }
.hw-wallet .hw-steps span { width: 24px; height: 24px; border-radius: 999px; background: var(--hw-olive); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.hw-wallet .hw-checks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: #3B474C; line-height: 1.6; }
.hw-wallet .hw-checks li { display: flex; gap: 10px; }
.hw-wallet .hw-checks svg { flex: none; margin-top: 3px; }
.hw-wallet .hw-sub { border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: #F4F7E8; border: 1px solid #D3DDB0; }
.hw-wallet .hw-sub.is-paused { background: #FBF6EC; border-color: #E6D6B5; }
.hw-wallet .hw-sub-title { display: flex; align-items: center; gap: 10px; }
.hw-wallet .hw-dot { width: 12px; height: 12px; border-radius: 999px; flex: none; background: #5E9B2A; box-shadow: 0 0 0 4px #DDEBC6; }
.hw-wallet .hw-sub.is-paused .hw-dot { background: #C08A2B; box-shadow: none; }
.hw-wallet .hw-sub p { margin: 0; }
.hw-wallet .hw-sub-note { color: var(--hw-muted); font-size: 14px; }
.hw-wallet .hw-sub-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.hw-wallet .hw-table-wrap { overflow-x: auto; margin-top: 8px; }
.hw-wallet table { width: 100%; border-collapse: collapse; min-width: 480px; }
.hw-wallet th { padding: 10px 0; font-weight: 500; font-size: 13px; color: var(--hw-muted); text-align: right; }
.hw-wallet td { padding: 13px 0; border-top: 1px solid #EEEEEE; color: var(--hw-muted); }
.hw-wallet td.hw-tx-name { font-weight: 600; color: var(--hw-ink); }
.hw-wallet td.hw-tx-amount { font-weight: 700; color: var(--hw-danger); text-align: left; direction: ltr; unicode-bidi: isolate; }
.hw-wallet td.hw-tx-amount.is-credit { color: var(--hw-credit); }
.hw-wallet .hw-empty { margin: 12px 0 0; color: var(--hw-muted); }
/* activated confirmation (Hidaya design: centered column, summary list, share and back link) */
.hw-wallet .hw-done { max-width: 560px; margin: 0 auto; padding-top: 12px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.hw-wallet .hw-done-icon { width: 96px; height: 96px; border-radius: 999px; background: #E3EFD6; display: flex; align-items: center; justify-content: center; }
.hw-wallet .hw-done h1 { margin: 0; font-size: 32px; font-weight: 700; color: var(--hw-ink); text-align: center; }
.hw-wallet .hw-done-sub { margin: 6px 0 0; color: var(--hw-muted); font-size: 17px; text-align: center; }
.hw-wallet .hw-done-list { width: 100%; margin: 0; padding: 8px 24px; text-align: right; box-sizing: border-box; }
.hw-wallet .hw-done-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid #EEEEEE; font-size: 16px; }
.hw-wallet .hw-done-list > div:last-child { border-bottom: 0; }
.hw-wallet .hw-done-list dt { color: var(--hw-muted); font-weight: 400; flex: none; }
.hw-wallet .hw-done-list dd { margin: 0; font-weight: 700; color: var(--hw-ink); text-align: left; }
.hw-wallet .hw-done-actions { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.hw-wallet .hw-share-toggle { height: 56px; border-radius: 14px; background: #FFFFFF; border: 1.5px solid var(--hw-olive); color: #3E4716; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-family: inherit; }
.hw-wallet .hw-share-toggle:hover { background: #F4F7E8; }
.hw-wallet .hw-share-toggle:focus-visible, .hw-wallet .hw-share-copy:focus-visible { outline: 3px solid #E8892B; outline-offset: 2px; }
.hw-wallet .hw-done-share { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hw-wallet .hw-share-whatsapp { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 12px; background: #1F7A4A; color: #FFFFFF; text-decoration: none; font-weight: 600; }
.hw-wallet .hw-share-whatsapp:hover { background: #18633C; color: #FFFFFF; text-decoration: none; }
.hw-wallet .hw-share-copy { height: 48px; border-radius: 12px; background: #FFFFFF; border: 1px solid #D0D0D0; color: var(--hw-ink); font-weight: 600; font-size: 15px; cursor: pointer; font-family: inherit; }
.hw-wallet .hw-share-copy:hover { background: #F7F7F7; }
.hw-wallet a.hw-done-back { margin-top: 4px; color: #A95A0E; font-size: 15px; font-weight: 600; text-decoration: underline; }
.hw-wallet a.hw-done-back:hover { color: #7E430A; }
@media (max-width: 575px) { .hw-wallet .hw-sub-actions { grid-template-columns: 1fr; } }

/* daily charity form (_WalletSubscriptionForm) */
.hw-form { display: flex; flex-direction: column; gap: 24px; }
.hw-form .hw-form-label { display: block; margin-bottom: 10px; font-size: 14px; color: #5E6A6E; font-weight: 500; }
.hw-form .hw-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.hw-form .option-box { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 110px; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid #D9D9D9; background: #FFFFFF; color: #1E2A2F; font-size: 16px; font-weight: 500; cursor: pointer; }
.hw-form .option-box:hover { border-color: #69772A; }
.hw-form .option-box.active { background: #EEF2DD; border: 1.5px solid #69772A; color: #3E4716; font-weight: 700; }
.hw-form .hw-amount-input { display: flex; align-items: center; gap: 10px; max-width: 280px; margin-top: 12px; }
.hw-form .hw-amount-input input, .hw-form select { height: 48px; border-radius: 12px; }
.hw-form .hw-hint { color: #5E6A6E; font-size: 13px; margin-top: 6px; }
.hw-form .hw-wallet-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid #D9D9D9; background: #FFFFFF; }
.hw-form .hw-wallet-option.is-disabled { background: #F6F4EF; border-style: dashed; opacity: .6; cursor: not-allowed; }
.hw-form .subscription-duration-div { flex-direction: column; padding: 16px 12px; min-height: 76px; border-radius: 14px; }
.hw-form .subscription-duration-price { color: #5E6A6E; font-size: 14px; font-weight: 500; }
.hw-form .hw-summary { background: #F7F7F7; border: 1px solid #EEEEEE; border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.hw-form .hw-terms { font-size: 13px; color: #5E6A6E; }
.hw-form #subscribe-button { height: 56px; border: 0; border-radius: 14px; background: #69772A; color: #FFFFFF; font-weight: 700; font-size: 17px; cursor: pointer; }
.hw-form #subscribe-button:hover { background: #56621F; }
.hw-form .subscription-duration-div { position: relative; }
.hw-form .hw-badge { position: absolute; top: -11px; left: 12px; background: #E8892B; color: #2B1A05; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; line-height: 1.5; }
.hw-form .hw-summary-line { font-size: 14px; color: #5E6A6E; line-height: 1.6; }
.hw-form .hw-summary-total { font-size: 24px; font-weight: 700; color: #3E4716; }
.hw-form .hw-terms a { color: #A95A0E; text-decoration: underline; }
.hw-form .hw-terms a:hover { color: #7E430A; }
