/* Express Donation — Nandgram Dham. One card, one action. Palette from general-donation. */
:root {
    --teal: #0F4D4A; --teal-dk: #0A3836; --teal-lt: #1B6B66;
    --gold: #C9A227; --gold-lt: #E8C566; --gold-br: #F8E9B8; --gold-deep: #8C6D14;
    --paper: #FAF8F0; --line: #E6DDBF; --ink: #1B1608; --ink-dim: #5C5340;
    --err: #B83227; --ok: #1F7A4C;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans);
       font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
svg { width: 18px; height: 18px; flex: none; }

/* ---- top bar ---- */
.bar { background: var(--teal-dk); color: #F4F1E3; }
.bar-in { max-width: 640px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar-logo { display: flex; align-items: center; gap: 4px; text-decoration: none; }
.bar-logo img { height: 34px; width: auto; }
.bar-logo svg { opacity: .7; }
.bar-help { display: flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: none; color: var(--gold-lt); }
@media (max-width: 380px) { .bar-help span { display: none; } }

/* ---- card ---- */
.main { max-width: 640px; margin: 0 auto; padding: 20px 16px 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px 20px;
        box-shadow: 0 24px 60px -36px rgba(7, 39, 37, .45); }
h1 { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.1; margin: 0; color: var(--teal-dk); }
.sub { margin: 6px 0 4px; color: var(--ink-dim); font-size: 14px; }

.notice { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.notice.is-warn { background: #FFF6DC; border: 1px solid #EDD48A; color: #6B5310; }
.notice.is-bad  { background: #FDECEA; border: 1px solid #F1B7B0; color: var(--err); }

.step { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 12px; font-weight: 600;
        letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.step span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; letter-spacing: 0;
             background: var(--teal); color: #fff; font-size: 12px; }

/* ---- seva tiles ---- */
.sevas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seva { position: relative; cursor: pointer; }
.seva input { position: absolute; opacity: 0; pointer-events: none; }
.seva-box { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; height: 100%;
            padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
            transition: border-color .15s, background .15s, box-shadow .15s; }
.seva-ic { grid-row: span 2; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
           background: #fff; color: var(--teal); border: 1px solid var(--line); }
.seva-ic svg { width: 20px; height: 20px; }
.seva-t { font-weight: 600; font-size: 14px; line-height: 1.25; }
.seva-b { font-size: 12px; color: var(--ink-dim); line-height: 1.3; }
.seva:hover .seva-box { border-color: var(--gold); }
.seva input:checked + .seva-box { border-color: var(--teal); background: #EEF5F3; box-shadow: 0 0 0 1px var(--teal) inset; }
.seva input:checked + .seva-box .seva-ic { background: var(--teal); color: #fff; border-color: var(--teal); }
.seva input:focus-visible + .seva-box { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 420px) {
    .seva-box { grid-template-columns: 1fr; row-gap: 6px; padding: 10px; }
    .seva-ic { grid-row: auto; width: 32px; height: 32px; }
}

/* ---- amount ---- */
.amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.amt { padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
       font-weight: 600; font-size: 14px; transition: all .15s; }
.amt:hover { border-color: var(--gold); }
.amt.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
@media (max-width: 380px) { .amts { grid-template-columns: 1fr 1fr; } }
.amount-input { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 0 14px;
                border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.amount-input:focus-within { border-color: var(--teal); }
.amount-input.has-error { border-color: var(--err); }
.amount-input span { font-weight: 600; color: var(--ink-dim); }
.amount-input input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 0; font-size: 18px; font-weight: 600; background: none; }
.amount-note { min-height: 18px; margin-top: 5px; font-size: 12.5px; color: var(--ink-dim); }
.amount-note.is-err { color: var(--err); }

/* ---- fields ---- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 4px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.field label em { font-style: normal; font-weight: 400; color: var(--ink-dim); }
.field input { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
               font-size: 15px; outline: 0; transition: border-color .15s; }
.field input:focus { border-color: var(--teal); }
.field input.has-error { border-color: var(--err); }
#f-pan { text-transform: uppercase; }
#f-pan::placeholder { text-transform: none; }
.field-msg { min-height: 16px; font-size: 12px; color: var(--err); margin-top: 2px; }
.field-msg.is-ok { color: var(--ok); }

/* ---- submit ---- */
.btn { width: 100%; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
       padding: 15px 18px; border: 0; border-radius: 12px; cursor: pointer;
       background: linear-gradient(180deg, var(--gold-lt), var(--gold)); color: var(--teal-dk);
       font-size: 17px; font-weight: 600; box-shadow: 0 10px 24px -12px rgba(140, 109, 20, .7); transition: filter .15s; }
.btn:hover { filter: brightness(1.05); }
.btn:disabled { opacity: .7; cursor: wait; }
.secure { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--ink-dim); }

.foot { margin: 18px 0 0; text-align: center; font-size: 12.5px; line-height: 1.9; color: var(--ink-dim); }
.foot a { color: var(--teal); }
