:root {
    --bg: #0b0f14;
    --bg-soft: #0f1522;
    --surface: #141b2d;
    --surface-2: #1b2440;
    --text: #f5f7fb;
    --muted: #a7b1c7;
    --primary: #ff8a3d;
    --primary-strong: #ff6a00;
    --accent: #38bdf8;
    --success: #22c55e;
    --outline: #2a3550;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    --radius: 18px;
    --nav-offset: 68px;
}

html.theme-modern body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(56, 189, 248, 0.15), transparent 60%),
        radial-gradient(1000px 600px at 90% 0%, rgba(255, 138, 61, 0.18), transparent 55%),
        var(--bg);
}

html.theme-modern h1,
html.theme-modern h2,
html.theme-modern h3 {
    font-family: 'Oswald', 'Segoe UI', sans-serif;
}

html.theme-modern .btn,
html.theme-modern a.btn,
html.theme-modern button.btn {
    border-radius: 999px;
    font-family: 'Oswald', 'Segoe UI', sans-serif;
    letter-spacing: 0.06em;
    text-decoration: none;
}

html.theme-modern .btn-primary,
html.theme-modern a.btn-primary,
html.theme-modern button.btn-primary,
html.theme-modern input[type="submit"].btn-primary {
    background: var(--primary);
    color: #0b0f14;
    border: none;
}

html.theme-modern .btn-primary:hover,
html.theme-modern a.btn-primary:hover,
html.theme-modern button.btn-primary:hover {
    background: var(--primary-strong);
}

html.theme-modern .btn-secondary,
html.theme-modern a.btn-secondary,
html.theme-modern button.btn-secondary {
    background: transparent;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

html.theme-modern .btn-secondary:hover,
html.theme-modern a.btn-secondary:hover,
html.theme-modern button.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

html.theme-modern .back-link a.btn.btn-secondary,
html.theme-modern .footer-links a.btn.btn-secondary,
html.theme-modern .byda-page-bottom-nav a.btn.btn-secondary,
html.theme-modern .back-link button.btn.btn-secondary,
html.theme-modern .footer-links button.btn.btn-secondary,
html.theme-modern .byda-page-bottom-nav button.btn.btn-secondary {
    border-radius: 999px;
    font-family: 'Oswald', 'Segoe UI', sans-serif;
    letter-spacing: 0.04em;
}

html.theme-modern input:focus,
html.theme-modern textarea:focus,
html.theme-modern select:focus {
    outline: 2px solid rgba(255, 138, 61, 0.65);
    outline-offset: 1px;
}

html.theme-modern .admin-container {
    max-width: 1100px;
    border-radius: 28px;
    background: rgba(15, 21, 34, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

html.theme-modern .admin-header h1 {
    font-family: 'Oswald', 'Segoe UI', sans-serif;
    letter-spacing: 0.08em;
    color: var(--primary);
}

html.theme-modern .admin-folder {
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.62);
}

html.theme-modern .admin-folder.is-open {
    border-color: rgba(255, 138, 61, 0.5);
}

html.theme-modern .admin-folder-title {
    font-family: 'Oswald', 'Segoe UI', sans-serif;
    color: var(--primary);
}

html.theme-modern .admin-tile-label {
    font-family: 'Oswald', 'Segoe UI', sans-serif;
}
