* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Georgia', 'Segoe UI', serif;
    background: radial-gradient(circle at top, #1b1330 0%, #0d0a1a 60%);
    color: #f3eee6;
    min-height: 100vh;
    line-height: 1.6;
}
a { color: #e8c165; }
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    background: rgba(0,0,0,0.35);
    border-bottom: 1px solid #e8c16544;
}
.navbar .brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e8c165;
    text-decoration: none;
    letter-spacing: 1px;
}
.nav-links a {
    color: #f3eee6;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    opacity: 0.85;
}
.nav-links a:hover { opacity: 1; color: #e8c165; }
.container { max-width: 880px; margin: 0 auto; padding: 30px 20px 60px; }
.card {
    background: linear-gradient(145deg, #1f1836, #241c3d);
    border: 1px solid #e8c16533;
    border-radius: 14px;
    padding: 26px;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.hero {
    text-align: center;
    padding: 40px 20px;
}
.hero h1 {
    font-size: 2.1rem;
    color: #e8c165;
    margin-bottom: 10px;
}
.hero p { color: #cfc7de; max-width: 520px; margin: 0 auto; }
.balance-box {
    text-align: center;
    background: linear-gradient(135deg, #3a2a5e, #1f1836);
    border: 1px solid #e8c165;
}
.balance-box .amount {
    font-size: 2.6rem;
    font-weight: 700;
    color: #e8c165;
    margin: 8px 0;
}
.balance-box .goal { color: #cfc7de; font-size: 0.9rem; }
h2 { color: #e8c165; margin-bottom: 14px; font-size: 1.3rem; }
h3 { color: #f3eee6; margin-bottom: 8px; }
label { display: block; font-weight: 600; margin: 12px 0 4px; color: #d8d0e8; font-size: 0.9rem; }
input, select, textarea {
    width: 100%;
    padding: 11px;
    border: 1px solid #4a3d6b;
    border-radius: 8px;
    font-size: 1rem;
    background: #14101f;
    color: #f3eee6;
}
input::placeholder, textarea::placeholder { color: #7c7295; }
button, .btn {
    display: inline-block;
    margin-top: 16px;
    padding: 11px 20px;
    background: linear-gradient(135deg, #e8c165, #cf9f3f);
    color: #1b1330;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}
button:hover, .btn:hover { filter: brightness(1.08); }
.btn-decline { background: #d9484e; color: #fff; }
.btn-outline { background: transparent; border: 1px solid #e8c165; color: #e8c165; }
.btn-small { padding: 7px 12px; font-size: 0.85rem; margin: 4px 4px 0 0; }
.alert { padding: 12px; border-radius: 8px; margin-bottom: 16px; font-size: 0.92rem; }
.alert-error { background: #4a1c22; color: #ffb3b8; border: 1px solid #7a2e35; }
.alert-success { background: #1e3f2a; color: #a9e8bf; border: 1px solid #2f6b45; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.88rem; }
th, td { padding: 10px; border-bottom: 1px solid #3a2f57; text-align: left; }
.status-pending { color: #e8c165; font-weight: 700; }
.status-approved { color: #7fe0a0; font-weight: 700; }
.status-declined { color: #ff8b90; font-weight: 700; }
.tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.tab-btn {
    padding: 9px 16px;
    border-radius: 8px;
    background: #241c3d;
    border: 1px solid #4a3d6b;
    color: #cfc7de;
    text-decoration: none;
    font-size: 0.9rem;
}
.tab-btn.active { background: #e8c165; color: #1b1330; font-weight: 700; }
.footer { text-align: center; padding: 26px; color: #9184ac; font-size: 0.82rem; }

/* Appreciation popup */
.popup-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    display: flex; align-items: center; justify-content: center; z-index: 999;
}
.popup-box {
    background: linear-gradient(145deg, #2c2249, #1b1330);
    border: 1px solid #e8c165;
    border-radius: 16px;
    padding: 36px;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 0 40px rgba(232,193,101,0.35);
}
.popup-box h2 { font-size: 1.5rem; }
.popup-box p { color: #e8dfff; margin: 14px 0; }
