/* ============================================================================
   Das Universal Academy — Online Fee Payment Portal
   Navy / white / gold school brand stylesheet (no framework, no build step)
   ========================================================================== */

:root {
    --navy: #0a1b3d;
    --navy-dark: #050b1c;
    --navy-mid: #0f2a5c;
    --navy-soft: #163b7a;
    --navy-tint: #f0f4fb;
    --navy-line: #dce6f7;
    --gold: #c9a227;
    --gold-light: #e3c65c;
    --gold-soft: #fbf7e9;
    --gold-line: #e3c65c;
    --green: #15803d;
    --green-bg: #ecfdf3;
    --red: #b91c1c;
    --red-bg: #fef2f2;
    --slate: #e2e8f0;
    --text: #334155;
    --muted: #64748b;
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(10, 27, 61, .08);
    --display: Georgia, "Times New Roman", "Playfair Display", serif;
    --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    background: #f6f8fc;
}

a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); margin: 0 0 .4em; line-height: 1.25; }
p { margin: 0 0 1em; }
img, svg { vertical-align: middle; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.page { padding: 26px 18px 40px; }
.gold-rule { height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent); }

/* ---------------------------------------------------------------- header */
.site-header { background: var(--navy); color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--white); }
.brand:hover { color: var(--white); }
.crest-wrap { display: inline-flex; align-items: center; justify-content: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--display); font-size: 17px; color: var(--gold-light); letter-spacing: .3px; }
.brand-text small { font-size: 10px; text-transform: uppercase; letter-spacing: .22em; color: rgba(255,255,255,.65); }
.header-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.signed-in { font-size: 12px; color: rgba(255,255,255,.75); display: none; }
@media (min-width: 760px) { .signed-in { display: inline; } }

.badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 3px 10px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.badge-demo { background: rgba(201,162,39,.14); border: 1px solid rgba(201,162,39,.55); color: var(--gold-light); }
.badge-paid { background: #dcfce7; color: #166534; }
.badge-pending { background: #fdf3cf; color: #7a5a06; }
.badge-mode { background: #fdf3cf; color: #7a5a06; }

.admin-nav { background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,.08); overflow-x: auto; }
.nav-inner { display: flex; align-items: center; gap: 2px; padding: 0 18px; min-height: 44px; }
.nav-link { color: rgba(255,255,255,.72); font-size: 12.5px; font-weight: 600; padding: 10px 11px; border-radius: 8px; white-space: nowrap; }
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav-link.is-active { color: var(--gold-light); background: rgba(201,162,39,.14); }
.nav-spacer { flex: 1 1 auto; }
.logout-form { margin: 0 0 0 4px; }
.logout-form button { background: transparent; border: 1px solid rgba(255,255,255,.18); color: #fecaca; font: inherit; font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 8px; cursor: pointer; }
.logout-form button:hover { background: rgba(239,68,68,.14); color: #fff; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 11px; padding: 11px 18px; font-family: var(--sans); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: transform .06s ease, background .15s ease, box-shadow .15s ease; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 7px 12px; font-size: 12px; border-radius: 9px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-gold { background: var(--gold); color: #1a1405; box-shadow: 0 8px 20px rgba(201,162,39,.28); }
.btn-gold:hover { background: #dcb53a; color: #1a1405; }
.btn-navy { background: var(--navy-mid); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); color: var(--white); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-muted { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; box-shadow: none; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .75; cursor: not-allowed; }

/* ---------------------------------------------------------------- alerts */
.alert { border-radius: 12px; padding: 11px 15px; font-size: 13.5px; font-weight: 500; margin: 0 0 16px; border: 1px solid; }
.alert-success { background: var(--green-bg); border-color: #bbf7d0; color: #166534; }
.alert-error { background: var(--red-bg); border-color: #fecaca; color: var(--red); }
.alert-info { background: var(--navy-tint); border-color: var(--navy-line); color: var(--navy-mid); }
.alert-warning { background: var(--gold-soft); border-color: var(--gold-line); color: #6d5309; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 320px at 15% 0%, #14336b 0%, transparent 60%), var(--navy); color: #fff; border-radius: 22px; padding: 38px 22px 30px; text-align: center; box-shadow: var(--shadow); }
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(201,162,39,.45); background: rgba(201,162,39,.12); color: var(--gold-light); border-radius: 999px; padding: 5px 13px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero-title { font-size: 30px; color: #fff; margin: 16px 0 10px; }
.hero-title span { color: var(--gold-light); }
.hero-sub { color: rgba(255,255,255,.72); font-size: 14px; max-width: 600px; margin: 0 auto 22px; }
.search-form { display: flex; flex-direction: column; gap: 10px; max-width: 560px; margin: 0 auto; }
.search-input { width: 100%; border: 2px solid rgba(255,255,255,.2); background: #fff; color: var(--navy); border-radius: 12px; padding: 14px 16px; font: inherit; font-weight: 600; outline: none; }
.search-input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.22); }
.hero-note { font-size: 11.5px; color: rgba(255,255,255,.55); margin: 10px 0 0; }
.demo-strip { display: inline-block; margin-top: 14px; border: 1px solid rgba(201,162,39,.4); background: rgba(201,162,39,.1); color: var(--gold-light); border-radius: 8px; padding: 5px 10px; font-size: 11px; }
.chips { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
.chips-label { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 0 8px; }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: rgba(255,255,255,.85); border-radius: 9px; padding: 6px 10px; font-size: 11.5px; }
.chip:hover { border-color: var(--gold); background: rgba(201,162,39,.16); color: #fff; }
.chip-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; color: var(--gold-light); }
.chip-meta { color: rgba(255,255,255,.55); }

@media (min-width: 700px) {
    .search-form { flex-direction: row; }
    .search-form .search-input { flex: 1; }
    .hero-title { font-size: 38px; }
    .hero { padding: 52px 34px 38px; }
}

/* ---------------------------------------------------------------- sections */
.section { margin-top: 34px; }
.section-head { text-align: center; margin-bottom: 20px; }
.section-title { font-size: 23px; }
.section-sub { color: var(--muted); font-size: 13.5px; max-width: 620px; margin: 0 auto; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 940px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; border: 1px solid var(--slate); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card + .card { margin-top: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--navy-line); flex-wrap: wrap; }
.card-title { font-size: 16px; margin: 0; }
.card-link { font-size: 12px; font-weight: 700; }
.card-body { padding: 18px; }

.feature-card { background: #fff; border: 1px solid var(--slate); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.feature-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--navy); color: var(--gold-light); font-size: 19px; margin-bottom: 12px; }
.feature-title { font-size: 15px; margin: 0 0 5px; }
.feature-text { font-size: 13px; color: var(--muted); margin: 0; }

.steps { display: grid; gap: 18px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; }
.step-num { font-family: var(--display); font-size: 40px; font-weight: 700; color: rgba(201,162,39,.35); line-height: 1; }
.step-title { font-size: 16px; margin: 4px 0; }
.step-text { font-size: 13px; color: var(--muted); margin: 0 auto; max-width: 280px; }

.panel { background: #fff; border: 1px solid var(--slate); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.panel-head { background: var(--navy); color: var(--gold-light); padding: 13px 18px; font-family: var(--display); font-weight: 700; font-size: 15px; }
.panel-body { padding: 18px; font-size: 13.5px; }
.list-check { list-style: none; padding: 0; margin: 12px 0 0; }
.list-check li { padding: 4px 0 4px 20px; position: relative; font-size: 13px; color: var(--text); }
.list-check li::before { content: "✔"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.cta-banner { margin-top: 34px; border-radius: var(--radius); border: 1px solid rgba(201,162,39,.4); background: linear-gradient(100deg, var(--navy), var(--navy-mid)); color: #fff; padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: space-between; box-shadow: var(--shadow); }
.cta-title { color: #fff; font-size: 19px; margin: 0 0 3px; }
.cta-text { color: rgba(255,255,255,.7); font-size: 13px; margin: 0; }
@media (min-width: 720px) { .cta-banner { flex-direction: row; align-items: center; padding: 26px 30px; } }

/* ---------------------------------------------------------------- stats */
.summary-grid, .stat-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .summary-grid { grid-template-columns: repeat(3, 1fr); } .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--slate); border-radius: 14px; padding: 16px 18px; }
.stat-label { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.stat-value { font-family: var(--display); font-size: 23px; font-weight: 700; color: var(--navy); margin: 0; }
.stat-navy { background: var(--navy-tint); border-color: var(--navy-line); }
.stat-green { background: var(--green-bg); border-color: #bbf7d0; }
.stat-green .stat-value { color: var(--green); }
.stat-gold { background: var(--gold-soft); border-color: var(--gold-line); }
.stat-gold .stat-value { color: #8a6a0c; }
.stat-muted .stat-value { color: #94a3b8; }

/* ---------------------------------------------------------------- profile */
.profile-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--slate); background: #fff; box-shadow: var(--shadow); }
.profile-main { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; padding: 20px; }
.profile-left { display: flex; align-items: center; gap: 14px; }
.avatar { width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,.09); border: 1px solid rgba(201,162,39,.45); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.profile-kicker { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 0 2px; }
.profile-name { font-family: var(--display); font-size: 23px; color: var(--gold-light); margin: 0 0 3px; }
.profile-meta { font-size: 12.5px; color: rgba(255,255,255,.72); margin: 0; }
.profile-meta strong { color: #fff; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.status-pill.is-paid { background: rgba(34,197,94,.16); color: #86efac; border: 1px solid rgba(74,222,128,.4); }
.status-pill.is-pending { background: rgba(201,162,39,.16); color: var(--gold-light); border: 1px solid rgba(201,162,39,.45); }
.profile-note { font-size: 11px; color: rgba(255,255,255,.5); margin: 6px 0 0; }

/* ---------------------------------------------------------------- fee cards */
.fee-grid { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 760px) { .fee-grid { grid-template-columns: repeat(2, 1fr); } }
.fee-card { border: 1px solid var(--slate); border-radius: 14px; padding: 16px; background: #fff; }
.fee-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.fee-card-head h3 { font-size: 15px; margin: 0; }
.fee-row { display: flex; align-items: baseline; justify-content: space-between; font-size: 13.5px; padding: 5px 0; color: var(--muted); }
.fee-row strong { color: var(--navy); }
.fee-row.is-total { border-top: 1px dashed var(--slate); margin-top: 6px; padding-top: 9px; }
.fee-row .due { color: #8a6a0c; font-weight: 700; }
.fee-row .paid { color: var(--green); font-weight: 700; }

/* ---------------------------------------------------------------- tables */
.table-wrap { width: 100%; overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
table.data thead th { background: var(--navy-tint); color: var(--navy-mid); text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; padding: 10px 14px; border-bottom: 1px solid var(--navy-line); white-space: nowrap; }
table.data tbody td { padding: 10px 14px; border-bottom: 1px solid #eef2f7; vertical-align: middle; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #f8fafc; }
table.data .text-right, .text-right { text-align: right; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; }
.nowrap { white-space: nowrap; }
.data-title { font-weight: 700; color: var(--navy); }
.data-sub { font-size: 11px; color: #94a3b8; }
.row-pending { color: #8a6a0c; font-weight: 700; }
.row-paid { color: var(--green); font-weight: 700; }
.actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.actions form { margin: 0; }

/* ---------------------------------------------------------------- pay box */
.pay-box { border-top: 1px solid var(--navy-line); background: #f8fafc; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 760px) { .pay-box { flex-direction: row; align-items: center; justify-content: space-between; } }
.pay-policy { font-size: 12.5px; color: var(--muted); margin: 3px 0 0; }
.pay-policy strong { color: var(--navy); }
.pay-hint { font-size: 11.5px; color: #94a3b8; margin: 8px 0 0; }
.pay-action { flex: 0 0 auto; }
.pay-action form { margin: 0; }

/* ---------------------------------------------------------------- forms */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.field input, .field select, .toolbar input, .toolbar select {
    width: 100%; border: 1.5px solid var(--slate); border-radius: 10px; background: #fff;
    padding: 10px 12px; font: inherit; font-size: 13.5px; color: var(--navy); outline: none;
}
.field input:focus, .field select:focus, .toolbar input:focus, .toolbar select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.18); }
.field input[disabled] { background: #f1f5f9; color: #94a3b8; }
.form-grid { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .form-grid .span-2 { grid-column: span 2; } }
.form-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.hint { font-size: 11.5px; color: var(--muted); margin: 4px 0 0; }
.toolbar { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px solid var(--slate); background: #fff; border-radius: 14px; margin-bottom: 18px; box-shadow: var(--shadow); }
.toolbar form { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 760px) { .toolbar form { flex-direction: row; align-items: center; } .toolbar input, .toolbar select { width: auto; } .toolbar input[type=search] { min-width: 260px; } }
.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- admin */
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.page-title { font-size: 23px; margin: 0; }
.page-sub { font-size: 12.5px; color: var(--muted); margin: 3px 0 0; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.bar-row { margin-bottom: 12px; }
.bar-label { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 4px; }
.bar-label strong { color: var(--navy); }
.bar-track { height: 8px; background: var(--navy-tint); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #a8861d, var(--gold-light)); }

/* ---------------------------------------------------------------- login */
.login-wrap { max-width: 430px; margin: 30px auto 10px; }
.login-card { background: #fff; border: 1px solid var(--slate); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.login-head { background: var(--navy); color: #fff; text-align: center; padding: 24px 20px; }
.login-head h1 { color: var(--gold-light); font-size: 20px; margin: 8px 0 2px; }
.login-head p { color: rgba(255,255,255,.6); font-size: 11.5px; margin: 0; }
.login-body { padding: 22px; }
.login-demo { background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: 10px; padding: 11px 13px; font-size: 12px; color: #6d5309; margin-top: 16px; }
.login-demo strong { display: block; margin-bottom: 2px; }
.login-note { text-align: center; font-size: 11.5px; color: #94a3b8; margin-top: 16px; }

/* ---------------------------------------------------------------- receipt */
.receipt { background: #fff; border: 1px solid var(--slate); border-radius: 18px; box-shadow: 0 18px 40px rgba(10,27,61,.12); overflow: hidden; max-width: 820px; margin: 0 auto; }
.receipt-header { background: var(--navy); color: #fff; text-align: center; padding: 22px 18px; border-bottom: 2px dashed rgba(201,162,39,.55); }
.receipt-school { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 10px; }
.receipt-school h1 { font-size: 19px; letter-spacing: .06em; color: var(--gold-light); margin: 0; }
.receipt-school p { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); margin: 0; }
.receipt-title { font-size: 21px; text-transform: uppercase; letter-spacing: .16em; color: #fff; margin: 4px 0 8px; }
.receipt-demo { display: inline-block; border: 1px solid rgba(201,162,39,.55); background: rgba(201,162,39,.16); color: var(--gold-light); border-radius: 999px; padding: 4px 13px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.receipt-body { padding: 22px; }
.receipt-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
@media (min-width: 700px) { .receipt-meta { grid-template-columns: repeat(4, 1fr); } }
.meta-label { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin: 0 0 2px; }
.meta-value { font-size: 12.5px; font-weight: 600; color: var(--navy); margin: 0; word-break: break-word; }
.receipt-student { background: var(--navy-tint); border: 1px solid var(--navy-line); border-radius: 12px; padding: 14px; margin-bottom: 18px; }
.receipt-student-grid { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 640px) { .receipt-student-grid { grid-template-columns: repeat(3, 1fr); } }
.receipt-table { width: 100%; border-collapse: collapse; font-size: 13px; border: 1px solid var(--slate); border-radius: 10px; overflow: hidden; }
.receipt-table thead th { background: var(--navy); color: #fff; text-align: left; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 9px 12px; }
.receipt-table tbody td { padding: 8px 12px; border-bottom: 1px solid #eef2f7; }
.receipt-total td { background: var(--gold-soft); font-weight: 700; color: var(--navy); font-size: 14px; }
.receipt-total td:last-child { text-align: right; font-family: var(--display); font-size: 17px; }
.receipt-foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-top: 26px; }
.signature { text-align: center; }
.signature-line { width: 150px; height: 44px; border: 1px dashed #cbd5e1; border-radius: 6px; background: #f8fafc; margin: 0 auto 4px; }
.signature small { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }
.receipt-verified { color: var(--green); font-size: 12px; font-weight: 700; text-align: center; }
.receipt-verified small { display: block; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; font-weight: 600; }
.receipt-note { background: var(--navy-dark); color: rgba(255,255,255,.65); border-radius: 9px; padding: 11px 14px; text-align: center; font-size: 11px; margin-top: 24px; }
.receipt-note strong { color: var(--gold-light); }
.receipt-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-bottom: 14px; }
.receipt-amount-words { background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: 10px; padding: 10px 14px; text-align: center; font-size: 12px; font-weight: 600; color: #6d5309; margin-top: 16px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.65); margin-top: 44px; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; padding: 30px 18px 20px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-brand { font-family: var(--display); color: var(--gold-light); font-size: 16px; margin: 0 0 6px; }
.footer-text { font-size: 12.5px; line-height: 1.6; margin: 0; }
.footer-heading { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--gold-light); }
.footer-note { border: 1px solid rgba(201,162,39,.3); background: rgba(201,162,39,.08); border-radius: 12px; padding: 13px; font-size: 11.5px; line-height: 1.6; }
.footer-note strong { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 13px 18px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.4); }

/* ---------------------------------------------------------------- misc */
.empty { text-align: center; color: #94a3b8; font-size: 13px; padding: 26px 16px; margin: 0; }
.small { font-size: 11.5px; color: var(--muted); }
.stack { margin: 0; }
.stack > * + * { margin-top: 16px; }
.center { text-align: center; }

/* ---------------------------------------------------------------- print */
@media print {
    body { background: #fff; }
    body * { visibility: hidden; }
    #receipt-print, #receipt-print * { visibility: visible; }
    #receipt-print { position: absolute; inset: 0; width: 100%; margin: 0; border: 0; box-shadow: none; }
    .no-print { display: none !important; }
    .receipt-header { background: var(--navy) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
