/* ============================================================
   Jackie Layer Shelter Fund — style.css
   All styles for public site + admin panel
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --rose:    #C4836A;
    --rose-dk: #8C4D34;
    --rose-lt: #F0D5CA;
    --cream:   #FBF7F2;
    --warm:    #F4EDE4;
    --gold:    #B89A6A;
    --gold-lt: #E8D8B8;
    --dark:    #1C1410;
    --charcoal:#2E2218;
    --text:    #3A2C1E;
    --muted:   #8A7060;
    --border:  #E2D4C4;
    --white:   #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', sans-serif;
    background: var(--cream);
    color: var(--text);
    font-weight: 300;
}

/* ── SHARED UTILITIES ── */
.section-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 0.75rem;
    display: block;
}

.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.75rem;
    display: block;
}

.alert-success {
    background: #EAF7EE;
    border: 1px solid #6DCB8A;
    border-radius: 10px;
    padding: 1rem;
    font-size: 14px;
    color: #2D6B3E;
    margin-bottom: 1.25rem;
}

.alert-error {
    background: #FEF0F0;
    border: 1px solid #E88;
    border-radius: 10px;
    padding: 1rem;
    font-size: 14px;
    color: #8B2020;
    margin-bottom: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 400;
    margin-bottom: 4px;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: var(--dark);
    background: white;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--rose); }

.form-group textarea { resize: vertical; min-height: 80px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-primary {
    background: var(--rose);
    color: white;
    padding: 14px 32px;
    border-radius: 999px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: inline-block;
}
.btn-primary:hover { background: var(--rose-dk); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
    background: transparent;
    border: 1px solid rgba(251,247,242,0.3);
    color: rgba(251,247,242,0.7);
    padding: 14px 32px;
    border-radius: 999px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
}
.btn-outline:hover { border-color: var(--rose-lt); color: var(--rose-lt); }

/* ── PUBLIC NAV ── */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(251, 247, 242, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; font-weight: 600; color: var(--dark);
    text-decoration: none; letter-spacing: 0.3px;
}
.nav-brand span { color: var(--rose); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    font-size: 13px; font-weight: 400; letter-spacing: 0.8px;
    text-transform: uppercase; color: var(--muted);
    text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--rose); }
.nav-donate-btn {
    background: var(--rose); color: white; border: none;
    padding: 8px 20px; border-radius: 999px;
    font-family: 'Jost', sans-serif; font-size: 13px;
    font-weight: 500; letter-spacing: 0.5px; cursor: pointer;
    text-decoration: none; transition: background 0.2s;
}
.nav-donate-btn:hover { background: var(--rose-dk); }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1C1410 0%, #2E2218 55%, #3A2C1E 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 5% 60px;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(196,131,106,0.12) 0%, transparent 60%);
}
.hero-text { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(196,131,106,0.15);
    border: 1px solid rgba(196,131,106,0.3);
    border-radius: 999px; padding: 6px 16px;
    margin-bottom: 2rem;
}
.hero-badge span {
    font-size: 11px; font-weight: 500; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--rose-lt);
}
.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 300; line-height: 1.1;
    color: #FBF7F2; margin-bottom: 1.5rem;
}
.hero h1 em { color: var(--rose); font-style: italic; font-weight: 400; }
.hero-sub {
    font-size: 1rem; color: rgba(251,247,242,0.6);
    line-height: 1.8; max-width: 440px; margin-bottom: 2.5rem;
}
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero-photos {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: end;
}
.hero-photo {
    border-radius: 16px; overflow: hidden;
    border: 2px solid rgba(196,131,106,0.2);
}
.hero-photo:first-child { margin-top: 3rem; }
.hero-photo img { width: 100%; height: 380px; object-fit: cover; display: block; }
.hero-photo:last-child img { height: 320px; }

/* ── PROGRESS SECTION ── */
.progress-section {
    background: var(--white);
    padding: 4rem 5%;
    border-bottom: 1px solid var(--border);
}
.progress-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.progress-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem; font-weight: 400; color: var(--dark);
    margin-bottom: 2.5rem;
}
.stats-row {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-bottom: 2rem;
}
.stat-item { text-align: center; }
.stat-val {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem; font-weight: 600; color: var(--dark);
    line-height: 1;
}
.stat-val sup { font-size: 1.2rem; }
.stat-lbl {
    font-size: 12px; font-weight: 400; letter-spacing: 0.5px;
    color: var(--muted); margin-top: 4px;
}
.stat-divider {
    width: 1px; background: var(--border);
    height: 60px; align-self: center;
}
.progress-track {
    background: var(--gold-lt);
    border-radius: 999px; height: 12px;
    overflow: hidden; margin-bottom: 0.5rem;
}
.progress-fill {
    height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, var(--rose-dk), var(--rose), #DFA090);
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-labels {
    display: flex; justify-content: space-between;
    font-size: 12px; color: var(--muted); margin-top: 4px;
}
.progress-labels strong { color: var(--text); }

/* ── MISSION ── */
.mission {
    padding: 6rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}
.mission-img { border-radius: 20px; overflow: hidden; position: relative; }
.mission-img img { width: 100%; height: 520px; object-fit: cover; display: block; }
.mission-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(196,131,106,0.15) 0%, transparent 50%);
}
.mission-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem; font-weight: 400; line-height: 1.2;
    color: var(--dark); margin-bottom: 1.5rem;
}
.mission-text h2 em { color: var(--rose); font-style: italic; }
.mission-text p {
    font-size: 15px; line-height: 1.85; color: var(--muted);
    margin-bottom: 1.25rem;
}
.mission-text p strong { color: var(--text); font-weight: 500; }
.pillars {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem; margin-top: 2rem;
}
.pillar {
    background: var(--warm); border-radius: 12px;
    padding: 1.1rem; border-left: 3px solid var(--rose);
}
.pillar-icon { font-size: 1.4rem; margin-bottom: 6px; }
.pillar h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem; font-weight: 600; color: var(--dark);
    margin-bottom: 3px;
}
.pillar p { font-size: 13px; color: var(--muted); margin: 0; }

/* ── TOP DONORS SECTION ── */
.top-donors-section {
    background: var(--dark);
    padding: 5rem 5%;
    text-align: center;
}
.top-donors-section .section-eyebrow { color: var(--rose-lt); }
.top-donors-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; font-weight: 400; color: #FBF7F2;
    margin-bottom: 2.5rem;
}
.donors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}
.donor-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(196,131,106,0.2);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: border-color 0.2s;
}
.donor-card:hover { border-color: rgba(196,131,106,0.5); }
.donor-card-rank {
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--gold); font-weight: 500; margin-bottom: 6px;
}
.donor-card-rank.first  { color: #F5D07A; }
.donor-card-rank.second { color: #C0C0C0; }
.donor-card-rank.third  { color: #CD8A4E; }
.donor-card-medal { font-size: 1.8rem; margin-bottom: 6px; }
.donor-card-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem; font-weight: 600; color: #FBF7F2;
    margin-bottom: 4px;
}
.donor-card-amount {
    font-size: 1.5rem; font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    color: var(--rose);
}
.donor-card-note {
    font-size: 12px; color: rgba(251,247,242,0.4);
    margin-top: 6px; font-style: italic;
}
.donors-empty {
    color: rgba(251,247,242,0.35);
    font-size: 14px; padding: 2rem;
    font-style: italic;
}

/* ── DONATE SECTION ── */
.donate-section {
    background: var(--warm);
    padding: 6rem 5%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.donate-inner { max-width: 680px; margin: 0 auto; }
.donate-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem; font-weight: 400; color: var(--dark);
    text-align: center; margin-bottom: 0.5rem;
}
.donate-intro {
    text-align: center; color: var(--muted);
    font-size: 15px; line-height: 1.7; margin-bottom: 2.5rem;
}

/* ── CARD ── */
.card {
    background: white; border-radius: 20px;
    border: 1px solid var(--border); padding: 2rem;
}

/* ── TABS ── */
.tab-row {
    display: flex; gap: 3px;
    background: var(--warm); border-radius: 10px;
    padding: 4px; margin-bottom: 1.75rem;
}
.tab {
    flex: 1; text-align: center; padding: 9px;
    border-radius: 8px; font-size: 13px; font-weight: 500;
    cursor: pointer; color: var(--muted);
    letter-spacing: 0.3px; transition: all 0.15s;
    border: none; background: none; font-family: 'Jost', sans-serif;
}
.tab.active {
    background: white; color: var(--dark);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* ── COIN SELECTOR ── */
.coin-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1rem; }
.coin-pill {
    padding: 6px 16px; border: 1px solid var(--border);
    border-radius: 999px; font-size: 13px; font-weight: 400;
    cursor: pointer; color: var(--muted); background: var(--cream);
    transition: all 0.15s; font-family: 'Jost', sans-serif;
}
.coin-pill.active {
    background: var(--rose); border-color: var(--rose);
    color: white; font-weight: 500;
}
.coin-pill:hover:not(.active) { border-color: var(--rose); color: var(--rose); }

/* ── WALLET BOX ── */
.wallet-box {
    background: var(--warm); border: 1px dashed var(--gold);
    border-radius: 12px; padding: 1.1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.wallet-not-set {
    background: #FFF8F0; border: 1px dashed var(--border);
    border-radius: 12px; padding: 1.1rem 1.25rem;
    margin-bottom: 1.5rem; text-align: center;
    font-size: 13px; color: var(--muted); font-style: italic;
}
.wallet-network-badge {
    display: inline-block;
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.5px; text-transform: uppercase;
    background: rgba(184,154,106,0.15);
    color: var(--gold-dark, #8B6914);
    border: 1px solid rgba(184,154,106,0.35);
    border-radius: 999px;
    padding: 2px 10px;
}
.wallet-coin-lbl {
    font-size: 11px; color: var(--muted); font-weight: 500;
    letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 4px;
}
.wallet-addr {
    font-family: 'Courier New', monospace; font-size: 13px;
    color: var(--dark); word-break: break-all; line-height: 1.6;
}
.copy-btn {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 8px; font-size: 12px; font-weight: 500;
    color: var(--rose-dk); background: none;
    border: 1px solid var(--rose); border-radius: 6px;
    padding: 4px 12px; cursor: pointer;
    font-family: 'Jost', sans-serif; transition: background 0.15s;
}
.copy-btn:hover { background: rgba(196,131,106,0.08); }

/* ── UPLOAD ZONE ── */
.upload-zone {
    border: 2px dashed var(--border); border-radius: 10px;
    padding: 1.5rem; text-align: center;
    cursor: pointer; transition: border-color 0.2s;
    margin-bottom: 0; background: var(--cream);
}
.upload-zone:hover { border-color: var(--rose); }
.upload-zone p { font-size: 13px; color: var(--muted); margin: 4px 0; }
.upload-zone strong { color: var(--rose-dk); font-weight: 500; }
.upload-zone .file-name { margin-top: 6px; font-size: 12px; color: var(--rose-dk); }

/* ── SUBMIT BUTTONS ── */
.submit-btn {
    width: 100%; padding: 0.9rem;
    background: var(--charcoal); border: none; border-radius: 10px;
    font-family: 'Jost', sans-serif; font-size: 14px;
    font-weight: 500; color: white; cursor: pointer;
    transition: background 0.2s; margin-top: 1rem;
}
.submit-btn:hover { background: var(--dark); }

/* ── DONORS LOG ── */
.donor-item {
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 1rem;
    padding: 12px 0; border-bottom: 1px solid var(--border);
}
.donor-item:last-child { border-bottom: none; }
.donor-name { font-weight: 500; color: var(--dark); font-size: 14px; }
.donor-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.donor-note {
    display: inline-block; font-size: 11px;
    background: var(--warm); border-radius: 4px;
    padding: 2px 8px; color: var(--rose-dk); margin-top: 4px;
}
.donor-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; font-weight: 600; color: var(--rose-dk);
    white-space: nowrap;
}
.donors-log-empty {
    font-size: 14px; color: var(--muted);
    text-align: center; padding: 2rem 0; font-style: italic;
}

/* ── FOOTER ── */
.site-footer {
    background: var(--dark); color: rgba(251,247,242,0.5);
    text-align: center; padding: 2.5rem 2rem;
    font-size: 13px; line-height: 1.7;
}
.site-footer strong { color: rgba(251,247,242,0.8); }
.footer-divider {
    width: 40px; height: 1px;
    background: var(--rose); margin: 1rem auto;
}

/* ============================================================
   ADMIN PANEL STYLES
   ============================================================ */

/* ── AUTH PAGES (Login & Register) ── */
body.admin-login {
    background: var(--cream);
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    font-family: 'Jost', sans-serif;
}

/* Left panel — branding */
.auth-left {
    width: 45%;
    background: linear-gradient(160deg, #1C1410 0%, #2E2218 60%, #3A2C1E 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}
.auth-left::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 60%, rgba(196,131,106,0.15) 0%, transparent 65%);
}
.auth-left-inner { position: relative; z-index: 1; }
.auth-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem; font-weight: 300; line-height: 1.15;
    color: #FBF7F2; margin-bottom: 1.5rem;
}
.auth-brand em { color: var(--rose); font-style: italic; }
.auth-brand strong { display: block; font-weight: 600; }
.auth-tagline {
    font-size: 14px; color: rgba(251,247,242,0.5);
    line-height: 1.8; max-width: 300px; margin-bottom: 3rem;
}
.auth-divider {
    width: 40px; height: 2px;
    background: var(--rose); margin-bottom: 2rem;
}
.auth-pillars { display: flex; flex-direction: column; gap: 1rem; }
.auth-pillar {
    display: flex; align-items: center; gap: 12px;
}
.auth-pillar-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--rose); flex-shrink: 0;
}
.auth-pillar span {
    font-size: 13px; color: rgba(251,247,242,0.45);
    letter-spacing: 0.3px;
}

/* Right panel — form */
.auth-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    background: var(--cream);
}
.auth-form-wrap {
    width: 100%; max-width: 400px;
}
.auth-form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; font-weight: 600; color: var(--dark);
    margin-bottom: 0.4rem;
}
.auth-form-sub {
    font-size: 13px; color: var(--muted);
    margin-bottom: 2rem; line-height: 1.6;
}
.auth-form-wrap .form-group label {
    font-size: 12px; font-weight: 500;
    letter-spacing: 0.5px; text-transform: uppercase;
    color: var(--muted); margin-bottom: 5px;
}
.auth-form-wrap .form-group input {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-form-wrap .form-group input:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(196,131,106,0.1);
}
.auth-input-icon { position: relative; }
.auth-input-icon input { padding-left: 38px; }
.auth-input-icon svg {
    position: absolute; left: 12px; top: 50%;
    transform: translateY(-50%);
    color: var(--muted); pointer-events: none;
}

.login-btn {
    width: 100%; padding: 13px;
    background: linear-gradient(135deg, var(--rose-dk), var(--rose));
    border: none; border-radius: 10px;
    font-family: 'Jost', sans-serif; font-size: 15px;
    font-weight: 500; color: white; cursor: pointer;
    letter-spacing: 0.3px;
    transition: opacity 0.2s, transform 0.1s;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(196,131,106,0.3);
}
.login-btn:hover { opacity: 0.92; }
.login-btn:active { transform: scale(0.99); }

.auth-footer-link {
    text-align: center; margin-top: 1.5rem;
    font-size: 13px; color: var(--muted);
}
.auth-footer-link a {
    color: var(--rose-dk); text-decoration: none; font-weight: 500;
}
.auth-footer-link a:hover { text-decoration: underline; }

.login-error {
    background: #FEF0F0; border: 1px solid rgba(220,80,80,0.25);
    border-radius: 10px; padding: 11px 14px;
    font-size: 13px; color: #8B2020;
    margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: 8px;
}
.login-error::before { content: '⚠'; font-size: 14px; }

/* Password strength hint */
.password-hint {
    font-size: 11px; color: var(--muted);
    margin-top: 4px; letter-spacing: 0.2px;
}

/* Responsive auth */
@media (max-width: 700px) {
    body.admin-login { flex-direction: column; }
    .auth-left {
        width: 100%; padding: 2.5rem 2rem 2rem;
        min-height: auto;
    }
    .auth-pillars { display: none; }
    .auth-brand { font-size: 1.8rem; margin-bottom: 0.5rem; }
    .auth-tagline { display: none; }
    .auth-divider { margin-bottom: 0; }
    .auth-right { padding: 2rem 1.5rem; }
}

/* Admin topbar */
.admin-topbar {
    background: var(--dark);
    padding: 0 2rem; height: 56px;
    display: flex; align-items: center; justify-content: space-between;
}
.admin-topbar-brand { font-size: 15px; font-weight: 500; color: white; }
.admin-topbar-brand span { color: var(--rose); }
.admin-topbar-right { display: flex; align-items: center; gap: 1rem; font-size: 13px; }
.admin-topbar-right a { color: rgba(251,247,242,0.6); text-decoration: none; }
.admin-topbar-right a:hover { color: var(--rose-lt); }
.admin-back-link { font-size: 13px; color: var(--rose-lt); text-decoration: none; }
.admin-back-link:hover { color: white; }

.logout-form { display: inline; }
.logout-btn {
    background: none; border: 1px solid rgba(196,131,106,0.4);
    color: var(--rose-lt); padding: 5px 14px; border-radius: 6px;
    font-family: 'Jost', sans-serif; font-size: 12px;
    cursor: pointer; transition: background 0.2s;
}
.logout-btn:hover { background: rgba(196,131,106,0.1); }

/* Admin container */
.admin-container { max-width: 960px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.admin-container h1 { font-size: 1.5rem; font-weight: 500; color: var(--dark); margin-bottom: 0.25rem; }
.admin-subtitle { font-size: 14px; color: var(--muted); margin-bottom: 2rem; }

/* Admin stats grid */
.admin-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1rem; margin-bottom: 2rem;
}
.admin-stat-card {
    background: white; border: 1px solid var(--border);
    border-radius: 12px; padding: 1.1rem; text-align: center;
}
.admin-stat-card .val { font-size: 1.6rem; font-weight: 600; color: var(--dark); }
.admin-stat-card .lbl { font-size: 12px; color: var(--muted); margin-top: 2px; }

.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }

/* Admin panel card */
.admin-panel {
    background: white; border: 1px solid var(--border);
    border-radius: 14px; padding: 1.5rem;
}
.admin-panel h2 { font-size: 15px; font-weight: 500; color: var(--dark); margin-bottom: 1rem; }
.admin-panel .form-group input,
.admin-panel .form-group textarea {
    background: var(--cream);
}
.admin-panel .form-group label { font-size: 12px; }

.save-btn {
    width: 100%; padding: 10px; background: var(--charcoal);
    border: none; border-radius: 8px;
    font-family: 'Jost', sans-serif; font-size: 14px;
    font-weight: 500; color: white; cursor: pointer;
    transition: background 0.2s;
}
.save-btn:hover { background: var(--dark); }

/* Top donor admin form */
.top-donor-row {
    display: grid; grid-template-columns: 1fr 1fr 1fr auto;
    gap: 8px; align-items: end; margin-bottom: 8px;
}
.top-donor-row input { padding: 8px 10px; font-size: 13px; }
.remove-donor-btn {
    padding: 8px 12px; background: none;
    border: 1px solid #E88; border-radius: 6px;
    color: #B22; cursor: pointer; font-size: 12px;
    font-family: 'Jost', sans-serif; transition: background 0.2s;
    white-space: nowrap;
}
.remove-donor-btn:hover { background: #FEF0F0; }
.add-donor-btn {
    padding: 8px 16px; background: none;
    border: 1px solid var(--rose); border-radius: 6px;
    color: var(--rose-dk); cursor: pointer; font-size: 13px;
    font-family: 'Jost', sans-serif; transition: background 0.15s;
    margin-bottom: 1rem;
}
.add-donor-btn:hover { background: rgba(196,131,106,0.08); }

.view-proofs-link {
    display: block; text-align: center; margin-top: 0;
    padding: 10px; background: var(--rose);
    border-radius: 8px; color: white;
    text-decoration: none; font-size: 14px; font-weight: 500;
    transition: background 0.2s;
}
.view-proofs-link:hover { background: var(--rose-dk); }

.pending-badge {
    display: inline-block; background: white;
    color: var(--rose); border-radius: 999px;
    padding: 2px 10px; font-size: 12px; font-weight: 600;
    margin-left: 6px;
}

/* Admin proofs table */
.admin-proofs-container { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.admin-proofs-container h1 { font-size: 1.4rem; font-weight: 500; margin-bottom: 1.5rem; color: var(--dark); }

.proofs-table {
    width: 100%; border-collapse: collapse; background: white;
    border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
}
.proofs-table thead { background: var(--warm); }
.proofs-table th {
    text-align: left; padding: 12px 14px; font-size: 12px;
    font-weight: 500; color: var(--muted); letter-spacing: 0.5px;
    text-transform: uppercase; border-bottom: 1px solid var(--border);
}
.proofs-table td {
    padding: 12px 14px; font-size: 13px; color: var(--text);
    border-bottom: 1px solid var(--border); vertical-align: top;
}
.proofs-table tr:last-child td { border-bottom: none; }
.proofs-table tr:hover td { background: var(--cream); }

.badge {
    display: inline-block; padding: 3px 10px;
    border-radius: 999px; font-size: 11px; font-weight: 500;
}
.badge-verified { background: #D4EDDA; color: #2D6B3E; }
.badge-pending  { background: #FFF3CD; color: #856404; }

.tx-hash {
    font-family: monospace; font-size: 11px;
    color: var(--muted); word-break: break-all; max-width: 180px;
}
.action-row { display: flex; gap: 6px; }
.btn-verify {
    padding: 5px 12px; background: var(--rose);
    color: white; border: none; border-radius: 6px;
    font-family: 'Jost', sans-serif; font-size: 12px;
    font-weight: 500; cursor: pointer; transition: background 0.2s;
}
.btn-verify:hover { background: var(--rose-dk); }
.btn-delete {
    padding: 5px 10px; background: none;
    color: #B22; border: 1px solid #E88;
    border-radius: 6px; font-family: 'Jost', sans-serif;
    font-size: 12px; cursor: pointer; transition: background 0.2s;
}
.btn-delete:hover { background: #FEF0F0; }

.screenshot-thumb {
    width: 50px; height: 50px; object-fit: cover;
    border-radius: 6px; border: 1px solid var(--border); cursor: pointer;
}
.table-empty { text-align: center; padding: 3rem; font-size: 14px; color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 80px;
        padding-bottom: 2rem;
    }
    .hero-photos {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-top: 2rem;
        width: 100%;
    }
    .hero-photo { margin-top: 0 !important; }
    .hero-photo img,
    .hero-photo:last-child img { height: 200px; }
    .mission { grid-template-columns: 1fr; gap: 2rem; }
    .mission-img { display: none; }
    .stats-row { grid-template-columns: 1fr; gap: 1rem; }
    .stat-divider { display: none; }
    .pillars { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
    .admin-grid-2 { grid-template-columns: 1fr; }
    .top-donor-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
    .admin-stats-grid { grid-template-columns: 1fr; }
    .top-donor-row { grid-template-columns: 1fr; }
}

/* Force photos visible on mobile */
@media (max-width: 860px) {
    .hero-photos {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem;
        margin-top: 1.5rem;
        width: 100%;
        position: relative;
        z-index: 1;
    }
    .hero-photo {
        margin-top: 0 !important;
        border-radius: 12px;
        overflow: hidden;
    }
    .hero-photo img,
    .hero-photo:last-child img {
        height: 180px !important;
        width: 100%;
        object-fit: cover;
        display: block;
    }
}