/* ============================================================
   FlightDock4DNR — Dawnstar Brand Theme Override
   Palette : #d22f2f (red) | #23272A (dark) | #ffffff (white)
   ============================================================ */

:root {
    /* Backgrounds */
    --primary-bg:    #1a1c1e;
    --secondary-bg:  #23272A;
    --card-bg:       #2d3035;
    --hover-bg:      #32373c;
    --border-color:  #3d4248;

    /* Brand accent — Dawnstar Red replaces FlightDock gold */
    --accent-gold:   #d22f2f;
    --accent-orange: #a82424;
    --accent-blue:   #c0392b;

    /* Shadows */
    --shadow-light:  rgba(210, 47, 47, 0.1);
    --shadow-medium: rgba(210, 47, 47, 0.2);

    /* Text */
    --text-primary:   #f0f0f0;
    --text-secondary: #9aa0a6;

    /* Misc */
    --primary-color: #d22f2f;
    --primary:       #d22f2f;
}

/* ── Header border & glow ── */
header {
    border-bottom: 1px solid rgba(210, 47, 47, 0.18) !important;
    box-shadow: 0 1px 0 rgba(210,47,47,0.08), 0 8px 32px rgba(0,0,0,0.5) !important;
}

/* ── Logo — show SVG, hide emoji text ── */
.logo {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: none !important;
    -webkit-text-fill-color: #f0f0f0 !important;
    color: #f0f0f0 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}
.logo::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('/images/dawnstar-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* ── Buttons & CTAs ── */
.btn-primary,
.cta-button,
button[type="submit"],
.btn-subscribe,
.btn-join {
    background: linear-gradient(135deg, #d22f2f, #a82424) !important;
    border-color: #d22f2f !important;
}
.btn-primary:hover,
.cta-button:hover {
    background: linear-gradient(135deg, #e03535, #d22f2f) !important;
    box-shadow: 0 4px 15px rgba(210,47,47,0.35) !important;
}

/* ── Active nav links ── */
.nav-link.active,
.nav-link:hover {
    color: #d22f2f !important;
    border-bottom-color: #d22f2f !important;
}

/* ── Scrollbar ── */
::-webkit-scrollbar-thumb {
    background: rgba(210,47,47,0.4) !important;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(210,47,47,0.7) !important;
}

/* ── Selections & focus rings ── */
::selection { background: rgba(210,47,47,0.3); }
*:focus-visible { outline-color: #d22f2f !important; }

/* ── Progress bars, badges, highlights ── */
.badge-primary,
.tag-primary,
.progress-fill {
    background: #d22f2f !important;
}

/* ── Admin panel accent ── */
:root {
    --admin-accent: #d22f2f;
    --admin-accent2: #a82424;
    --admin-glow: rgba(210, 47, 47, 0.15);
    --admin-border: rgba(210, 47, 47, 0.12);
}

/* ── Gradient text (replaces gold gradient) ── */
.gradient-text,
.stat-number {
    background: linear-gradient(135deg, #d22f2f, #ff6b6b) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
