/* Colourful theme preview (local only): the look of the ambassador PDFs applied over the real pages.
   Loaded by resources/views/theme/include.blade.php; add ?plain=1 to see the normal theme. */

html:root, html:root.dark {
    --canvas: 7 8 23; --surface: 18 21 58; --raised: 27 31 82; --line: 42 47 107;
    --ink: 255 255 255; --muted: 185 189 224; --faint: 138 143 192; --accent: 255 148 16;
    color-scheme: dark;
    background: #070817;
}
body { background: transparent !important; font-family: Figtree, Inter, system-ui, sans-serif !important; color: #fff; }
.font-display, h1, h2, h3, .card-title, .figure { font-family: Sora, 'Plus Jakarta Sans', system-ui, sans-serif !important; }

/* The four coloured circles, hard-edged, tucked into the corners behind everything. */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(circle at 0% 0%, #7a2cff 0 22vmin, transparent calc(22vmin + 1px)),
        radial-gradient(circle at 100% 0%, #ff9410 0 15vmin, transparent calc(15vmin + 1px)),
        radial-gradient(circle at 0% 100%, #3dbdff 0 12vmin, transparent calc(12vmin + 1px)),
        radial-gradient(circle at 100% 100%, #ff2fb4 0 13vmin, transparent calc(13vmin + 1px));
}

/* Panels: navy fill, indigo hairline, soft corners. */
.card, [class*="bg-white/[0.04]"], [class*="bg-white/[0.05]"], [class*="bg-white/[0.03]"] {
    background: #12153a !important; border: 1px solid #2a2f6b !important; box-shadow: none !important; border-radius: 18px !important;
}
.card-head { border-color: #2a2f6b !important; }
[class*="bg-night/"], header.sticky { background: rgba(7, 8, 23, .82) !important; }
header.sticky, footer { border-color: rgba(255,255,255,.14) !important; }
[class*="bg-white/[0.02]"] { background: rgba(18, 21, 58, .55) !important; }
[class*="bg-night/70"] { background: #0b0d2c !important; }

/* Headlines like the PDFs: Sora, upper-case, solid orange for the accent words. */
body.bg-night h1, body.bg-night h2 { text-transform: uppercase; letter-spacing: -.01em; line-height: 1.04; }
.text-gradient { background: none !important; -webkit-text-fill-color: #ff9410 !important; color: #ff9410 !important; }
.eyebrow, .text-2xs { letter-spacing: .14em; }
.text-magenta { color: #ff2fb4 !important; }

/* Buttons: orange to magenta, flat and bold. */
.btn-primary, .bg-brand-gradient { background: linear-gradient(90deg, #ff9410, #ff2fb4) !important; box-shadow: none !important; color: #fff !important; }
.btn { border-radius: 12px; font-family: Sora, system-ui, sans-serif; font-weight: 700; }
.btn-secondary { background: #12153a !important; border-color: #2a2f6b !important; }
.btn-dark { background: #fff !important; color: #070817 !important; }

/* Dashboard chrome */
aside, nav[aria-label="Sidebar"] { background: rgba(10, 11, 34, .92) !important; border-color: #2a2f6b !important; }
table thead, .bg-raised { background: #1b1f52 !important; }
input, select, textarea { background: #0b0d2c !important; border-color: #2a2f6b !important; color: #fff !important; }
.blur-3xl { display: none !important; }
