/* Admin UI – Bootstrap 5 with a warm Diwali accent */
:root {
    --festive-1: #b8410b;
    --festive-2: #e8a317;
    --festive-dark: #2a0b05;
    --festive-ink: #3b1203;
}

body.admin-body {
    background: #f7f3ee;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.admin-body main { flex: 1; }

.admin-nav {
    background: linear-gradient(90deg, #2a0b05, #5a1a07 60%, #7a2a08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.admin-nav .nav-link { color: rgba(255, 240, 220, 0.8); }
.admin-nav .nav-link:hover, .admin-nav .nav-link.active { color: #ffd36e; }
.brand-diya { font-size: 1.3rem; }
.admin-footer { color: #8a6a55; }

.btn-festive {
    color: #2a0b05;
    font-weight: 700;
    border: 0;
    background: linear-gradient(135deg, #ffd36e, #e8a317);
}
.btn-festive:hover, .btn-festive:focus { color: #2a0b05; background: linear-gradient(135deg, #ffe08f, #f0b02b); }

.card { border: 1px solid rgba(90, 40, 10, 0.12); box-shadow: 0 2px 10px rgba(80, 40, 10, 0.05); }

.stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(90, 40, 10, 0.12);
    border-left: 6px solid var(--festive-2);
    height: 100%;
}
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8a6a55; font-weight: 600; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--festive-ink); line-height: 1.2; }
.stat-sub { font-size: 0.85rem; color: #8a6a55; }

/* Login */
.login-body {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(255, 140, 26, 0.25), transparent 60%),
        radial-gradient(ellipse at center, #3b0e0b, #120403);
}
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.login-card { width: 100%; max-width: 440px; border-radius: 18px; border: 2px solid rgba(255, 211, 110, 0.4); }
.login-diya { font-size: 3rem; line-height: 1; }

/* Live draw control stage */
.control-stage {
    background: radial-gradient(ellipse at 30% 30%, #4a130c, #1c0707 70%);
    color: #fff6e3;
    border: 2px solid rgba(232, 163, 23, 0.5);
}
.control-stage .card-footer { background: rgba(0, 0, 0, 0.3); border-top: 1px solid rgba(255, 211, 110, 0.2); }
.stage-label { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.85rem; color: #ffb35c; font-weight: 700; }
.stage-prize-number { font-size: 5.5rem; font-weight: 900; line-height: 1; color: #ffd36e; }
.stage-prize-name { font-size: 1.35rem; font-weight: 700; }
.stage-number {
    font-size: clamp(3rem, 9vw, 7.5rem);
    font-weight: 900;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    padding: 0.5rem 1rem;
    border: 3px solid rgba(232, 163, 23, 0.6);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.35);
    word-break: break-all;
}
.stage-number.is-rolling { color: #fff; text-shadow: 0 0 18px rgba(255, 211, 110, 0.8); }
.stage-number.is-revealed { color: #ffd36e; border-color: #ffd36e; box-shadow: 0 0 30px rgba(255, 179, 0, 0.45); }
.stage-meta { margin-top: 0.75rem; font-size: 1.25rem; font-weight: 600; color: #ffe6b8; }
.stage-message {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(255, 211, 110, 0.12);
    color: #ffe6b8;
    font-weight: 600;
    text-align: center;
}
.control-buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; padding: 1rem 1.25rem; }
.control-buttons .btn { font-weight: 800; letter-spacing: 0.03em; }
.control-buttons .btn-lg { min-height: 3.4rem; }

@media (max-width: 576px) {
    .control-buttons .btn { width: 100%; }
    .stage-prize-number { font-size: 4rem; }
}
