/* Jogi Bots Dark Theme - Jogibot Style v2 */

:root {
    /* Base Colors */
    --bg: #0b0d10;
    --bg-card: #111319;
    --bg-input: #1a1f2a;
    --text: #e9eef7;
    --text-muted: #9aa5b1;
    --blue: #2c7df0;
    --blue-hover: #3d8ef7;
    --green: #19c37d;
    --red: #ff5252;
    --border: rgba(255, 255, 255, 0.1);
    --ring: #4c9aff;

    /* Jogibot Shadows & Glows */
    --shadow: 0 12px 24px rgba(0,0,0,.75), 0 2px 6px rgba(0,0,0,.4);
    --glowA: 0 0 0 2px rgba(76,154,255,.25);
    --glowB: 0 0 24px rgba(76,154,255,.30), 0 0 48px rgba(76,154,255,.18);
    --glowPress: 0 0 16px rgba(76,154,255,.22);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   JOGIBOT BUTTONS - Exakt wie Jogi_UI_Base_Style_v2
   ============================================ */
.btn {
    border: 0;
    border-radius: 14px;
    padding: 8px 20px;
    min-height: 42px;
    font-weight: 550;
    letter-spacing: .2px;
    cursor: pointer;
    color: #e9eef7;
    background: linear-gradient(180deg, #242a36, #0c1016);
    box-shadow: 0 8px 20px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12);
    transition:
        transform .06s ease,
        box-shadow .15s ease,
        filter .2s ease,
        background .25s ease;
    will-change: transform, box-shadow, filter;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn:hover {
    filter: saturate(1.08);
    box-shadow:
        0 12px 28px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.18),
        var(--glowB);
    color: #e9eef7;
    text-decoration: none;
}

.btn:focus-visible {
    outline: none;
    box-shadow:
        0 10px 24px rgba(0,0,0,.5),
        inset 0 1px 0 rgba(255,255,255,.18),
        var(--glowA), var(--glowB);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: var(--glowPress), inset 0 1px 0 rgba(255,255,255,.14);
}

/* Color Variants */
.btn.blue {
    background: linear-gradient(180deg, #3e89f4, #082654);
    box-shadow: 0 10px 28px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn.blue:hover {
    box-shadow:
        0 12px 32px rgba(0,0,0,.65),
        inset 0 1px 0 rgba(255,255,255,.22),
        var(--glowB);
}

.btn.green {
    background: linear-gradient(180deg, #149a6a, #0b5e3e);
}

.btn.red {
    background: linear-gradient(180deg, #ff6a6a, #922525);
    box-shadow: 0 9px 24px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn.red:hover {
    box-shadow:
        0 11px 28px rgba(0,0,0,.6),
        inset 0 1px 0 rgba(255,255,255,.18),
        var(--glowB);
}

.btn.black {
    background: linear-gradient(180deg, #242a36, #0c1016);
}

/* Size Variants */
.btn.small {
    padding: 8px 10px;
    border-radius: 12px;
}

.btn.large {
    padding: 14px 24px;
    font-size: 1.1rem;
    border-radius: 14px;
}

/* Full Width */
.btn.full-width {
    width: 100%;
}

/* Ghost Variant */
.btn.ghost {
    background: transparent;
    color: #e9eef7;
    border: 1px solid #202430;
    box-shadow: none;
}

.btn.ghost:hover {
    background: rgba(255,255,255,0.05);
    box-shadow: var(--glowB);
}

/* ============================================
   DOUBLEBUTTON - Jogibot Style v2
   ============================================ */
.doublebtn {
    display: inline-flex;
    position: relative;
    border-radius: 14px;
    overflow: visible;
}

/* Kein Hover-Glow auf Container - jede Hälfte hat eigenen Glow */

.doublebtn .btn {
    border-radius: 0;
    padding: 8px 20px;
    flex: 1;
    /* Jeder Button behält seinen eigenen box-shadow vom .btn base */
}

.doublebtn .btn.left {
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}

.doublebtn .btn.right {
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}

.doublebtn .btn + .btn {
    margin-left: 0;
}

.doublebtn .btn:active {
    transform: translateY(1px);
    box-shadow: var(--glowPress), inset 0 1px 0 rgba(255,255,255,.14);
}

.doublebtn[tabindex] {
    outline: none;
}

/* Full width doublebtn */
.doublebtn.full-width {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: var(--bg-card) !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--text) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-muted) !important;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text) !important;
}

/* Admin Link in Navbar */
.nav-link.admin-link {
    color: var(--blue) !important;
    font-weight: 500;
}

.nav-link.admin-link:hover {
    color: var(--blue-hover) !important;
}

/* Reset btn-link in navbar to look like a regular link */
.navbar .btn-link,
.navbar .btn.btn-link {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.5rem 1rem !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    border-radius: 0 !important;
    transform: none !important;
}

.navbar .btn-link:hover,
.navbar .btn.btn-link:hover {
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
}

.navbar-toggler {
    border-color: var(--border);
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* ============================================
   MAIN CONTENT - Centered
   ============================================ */
.container {
    max-width: 1200px;
    width: 100%;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

/* ============================================
   AUTH CARD - Jogibot Style
   ============================================ */
.auth-card {
    background: linear-gradient(180deg, #0f1318 0%, #0a0c10 100%);
    border: 1px solid #111319;
    border-radius: 22px;
    padding: 2.5rem;
    max-width: 420px;
    margin: 2rem auto;
    box-shadow: var(--shadow);
    position: relative;
    isolation: isolate;
}

/* Glanz-Effekt oben auf der Karte */
.auth-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.08) 15%, rgba(255,255,255,0) 45%),
                radial-gradient(120% 140% at -10% -20%, rgba(255,255,255,.08), transparent 40%);
    mix-blend-mode: screen;
}

/* Inhalt über dem Glanz-Effekt */
.auth-card > * {
    position: relative;
    z-index: 1;
}

.auth-card h1,
.auth-card h2 {
    color: var(--text);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.auth-card h1 {
    font-size: 1.75rem;
}

.auth-card h2 {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Title Large (for Index) */
.auth-card .title-large {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Subtitle */
.auth-card .subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Hero Image - Full width to card edges */
.hero-image {
    width: calc(100% + 5rem);
    max-width: none;
    height: auto;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    border-radius: 22px 22px 0 0;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* Narrow card variant */
.auth-card.narrow {
    max-width: 380px;
}

/* ============================================
   UNIFIED AUTH CARD - Identical on all pages
   ============================================ */
.auth-card.unified {
    width: 450px;
    max-width: 90vw;
    min-height: auto;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.auth-card.unified .card-header {
    flex-shrink: 0;
}

.auth-card.unified .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.auth-card.unified .card-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 1rem;
}

/* Form section fills available space */
.auth-card.unified .form-section {
    flex: 1;
}

/* Consistent spacing for form groups */
.auth-card.unified .form-floating {
    margin-bottom: 0.875rem;
}

/* Consistent spacing for form elements */
.auth-card .form-check {
    margin-bottom: 1rem;
}

.auth-card .doublebtn {
    margin-top: 0.5rem;
}

/* Links section below buttons */
.auth-card.unified .links-section {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.auth-card.unified .links-section p {
    margin: 0.25rem 0;
}

/* ============================================
   FORMS - Jogibot Style (Labels above inputs)
   ============================================ */

/* Form group with collapsing label */
.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-group label {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    /* Collapsed by default - no height, no space */
    height: 0;
    overflow: hidden;
    opacity: 0;
    margin-bottom: 0;
    transition: height 0.15s ease, opacity 0.15s ease, margin 0.15s ease;
}

/* Expand label when focused */
.form-group:focus-within label {
    height: 1.1rem;
    opacity: 1;
    margin-bottom: 0.25rem;
}

.form-label-above {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Input fields - Jogibot dark style (matching Jogi_UI_Base_Style_v2) */
.form-control {
    background: transparent !important;
    border: 1px solid rgba(17, 19, 25, 0.3) !important;
    border-radius: 14px !important;
    color: var(--text) !important;
    padding: 10px 12px;
    height: auto;
    min-height: 42px;
    font-size: 14px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,.3), 0 1px 4px rgba(0,0,0,.2), inset 0 2px 6px rgba(100,100,110,.3), inset 0 -1px 2px rgba(255,255,255,.04);
}

.form-control:focus {
    background: transparent !important;
    border-color: var(--ring) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,.3), 0 1px 4px rgba(0,0,0,.2), inset 0 2px 6px rgba(100,100,110,.3), inset 0 -1px 2px rgba(255,255,255,.04) !important;
    outline: 2px solid rgba(76,154,255,.25);
}

.form-control::placeholder {
    color: var(--text-muted) !important;
    font-size: 14px;
}

/* ============================================
   AUTOFILL FIX - Browser Autofill Styling
   ============================================ */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
    /* Box-shadow trick to override background + same inset shadow as normal inputs */
    -webkit-box-shadow: 0 0 0 1000px transparent inset, 0 4px 8px rgba(0,0,0,.3), 0 1px 4px rgba(0,0,0,.2), inset 0 2px 6px rgba(100,100,110,.3), inset 0 -1px 2px rgba(255,255,255,.04) !important;
    box-shadow: 0 0 0 1000px transparent inset, 0 4px 8px rgba(0,0,0,.3), 0 1px 4px rgba(0,0,0,.2), inset 0 2px 6px rgba(100,100,110,.3), inset 0 -1px 2px rgba(255,255,255,.04) !important;
    background: transparent !important;
    /* Force correct text color */
    -webkit-text-fill-color: var(--text) !important;
    color: var(--text) !important;
    /* Force correct font */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    /* Ensure caret is visible */
    caret-color: var(--text) !important;
    /* Border to match our style */
    border: 1px solid rgba(17, 19, 25, 0.3) !important;
    border-radius: 14px !important;
    /* Delay the autofill background change */
    transition: background-color 5000s ease-in-out 0s !important;
}

/* ============================================
   CHECKBOXES
   ============================================ */
.form-check-input {
    background-color: var(--bg-input);
    border-color: var(--border);
    width: 1.25rem;
    height: 1.25rem;
}

.form-check-input:checked {
    background-color: var(--blue);
    border-color: var(--blue);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(76,154,255,.25);
}

.form-label {
    color: var(--text);
}

/* ============================================
   LINKS
   ============================================ */
a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--blue-hover);
    text-decoration: underline;
}

/* ============================================
   VALIDATION & ALERTS
   ============================================ */
.text-danger {
    color: var(--red) !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.validation-summary-errors {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid var(--red);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 1.25rem;
}

/* Alerts */
.alert {
    border-radius: 14px;
    border: none;
    padding: 10px 12px;
    min-height: 42px;
    font-size: 14px;
}

.alert-success,
.success-box {
    background: rgba(25, 195, 125, 0.1);
    border: 1px solid rgba(25, 195, 125, 0.3);
    border-radius: 12px;
    color: var(--green);
}

.alert-danger,
.error-box {
    background: rgba(255, 82, 82, 0.15);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: 12px;
    color: var(--red);
}

.alert-info,
.info-box {
    background: rgba(44, 125, 240, 0.15);
    border: 1px solid rgba(44, 125, 240, 0.3);
    border-radius: 12px;
    color: var(--blue);
}

/* ============================================
   STATUS BOXES (for Index page)
   ============================================ */
.status-box {
    border-radius: 14px;
    padding: 10px 12px;
    min-height: 42px;
    font-size: 14px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-box.logged-in {
    background: rgba(25, 195, 125, 0.1);
    border: 1px solid rgba(25, 195, 125, 0.3);
}

.status-box p {
    margin: 0;
    color: var(--green);
}

/* ============================================
   SECTION DIVIDER
   ============================================ */
.section-divider {
    border-color: var(--border);
    margin: 1.5rem 0;
    opacity: 1;
}

/* ============================================
   BUTTON GROUP (for stacked buttons)
   ============================================ */
.btn-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border) !important;
    color: var(--text-muted);
    padding: 1.5rem 0;
    margin-top: auto;
}

.footer a {
    color: var(--text-muted);
}

.footer a:hover {
    color: var(--text);
}

/* ============================================
   QR CODE (for 2FA)
   ============================================ */
.qr-code-container {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    display: inline-block;
    margin: 1rem 0;
}

/* ============================================
   MANAGE/ADMIN PAGES - Sidebar Layout
   ============================================ */
.manage-container,
.admin-container {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 150px);
}

.manage-sidebar,
.admin-sidebar {
    width: 220px;
    flex-shrink: 0;
    padding: 2rem 1rem;
    border-right: 1px solid var(--border);
}

.manage-sidebar h2,
.admin-sidebar h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    color: var(--text-muted);
}

.manage-content-wrapper,
.admin-content-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    /* Shift left by half sidebar width to center card on full page */
    margin-left: -110px;
}

/* Manage card - JogiBot style like login/register */
.auth-card.manage-card {
    width: 550px;
    max-width: 100%;
}

.auth-card.manage-card .card-content {
    padding-top: 0.5rem;
}

.auth-card.manage-card h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.auth-card.manage-card h2 {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

/* Legacy support */
.manage-content {
    flex: 1;
    min-width: 0;
    background: linear-gradient(180deg, #0f1318 0%, #0a0c10 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #111319;
}

.manage-content h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Manage Nav Sidebar */
.manage-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.manage-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.manage-nav .nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    text-decoration: none;
}

.manage-nav .nav-item.active {
    background: var(--blue);
    color: white;
}

.manage-nav .nav-icon {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
}

.manage-nav .nav-text,
.admin-nav .nav-text {
    font-weight: 500;
}

/* Admin Nav (same as Manage Nav) */
.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.admin-nav .nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    text-decoration: none;
}

.admin-nav .nav-item.active {
    background: var(--blue);
    color: white;
}

.admin-nav .nav-icon {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
}

/* Override main centering for manage/admin pages */
body:has(.manage-container) main,
body:has(.admin-container) main {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
}

/* Responsive - Stack on mobile */
@media (max-width: 768px) {
    .manage-container,
    .admin-container {
        flex-direction: column;
    }

    .manage-sidebar,
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1rem;
    }

    .manage-nav,
    .admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .manage-nav .nav-item,
    .admin-nav .nav-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .manage-nav .nav-text,
    .admin-nav .nav-text {
        display: none;
    }

    .manage-content,
    .admin-content {
        padding: 1.5rem;
    }

    .manage-content-wrapper,
    .admin-content-wrapper,
    .admin-content {
        margin-left: 0;
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
hr {
    border-color: var(--border);
    opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
}

ul, ol {
    color: var(--text);
}

/* Code/Recovery codes */
code, pre {
    background: var(--bg-input);
    color: var(--green);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-family: 'Monaco', 'Consolas', monospace;
}

pre {
    padding: 1rem;
    overflow-x: auto;
}

/* Recovery codes list */
.recovery-codes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    background: var(--bg-input);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.recovery-codes code {
    background: transparent;
    font-size: 0.9rem;
    padding: 0.5rem;
    text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 576px) {
    .auth-card {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

/* Hide external logins section (not needed) */
.external-logins-section {
    display: none;
}

/* Confirm Email Success */
.confirm-email-success {
    text-align: center;
    padding: 2rem;
}

.confirm-email-success .checkmark {
    width: 80px;
    height: 80px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
}

/* Section title in auth-card */
.section-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

/* Hint text */
.hint-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

/* ============================================
   MANAGE CARD SPECIFIC STYLES
   ============================================ */

/* Email verified row */
.email-verified-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-verified-row .form-control {
    flex: 1;
}

.verified-badge {
    color: var(--green);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Setup steps for 2FA */
.setup-steps {
    text-align: center;
}

.setup-steps .step-intro {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.setup-steps .qr-code-container {
    margin: 0 auto 1rem;
}

.setup-steps .manual-key {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    word-break: break-all;
}

.setup-steps .manual-key kbd {
    background: var(--bg-input);
    color: var(--green);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
}

.setup-steps .form-section {
    text-align: left;
}

/* Alert spacing in manage cards */
.auth-card.manage-card .alert {
    margin-bottom: 1rem;
}

.auth-card.manage-card .alert:last-of-type {
    margin-bottom: 1.25rem;
}

/* Alert warning color */
.alert-warning {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    color: #ffc107;
}

/* ============================================
   ADMIN AREA SPECIFIC STYLES
   ============================================ */

/* Admin sidebar title */
.admin-sidebar h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Admin nav links */
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
    font-weight: 500;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    text-decoration: none;
}

.admin-nav-link.active {
    background: var(--blue);
    color: white;
}

/* Admin content area - centered on full page */
.admin-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    /* Shift left by half sidebar width to center card on full page */
    margin-left: -110px;
}

/* Card bg variable for admin page */
:root {
    --card-bg: linear-gradient(180deg, #0f1318 0%, #0a0c10 100%);
}
