/* ============================================
   Booking Online — Modern Design
   Inspired by clean dashboard UIs
   Not-too-dark sidebar, airy content area
   ============================================ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --sidebar-width: 250px;
    --topbar-height: 0px; /* No top bar — integrated into sidebar */

    /* Colors — refined palette */
    --sidebar-bg: #2c3345;
    --sidebar-border: #363d50;
    --sidebar-text: #9ca3b4;
    --sidebar-text-hover: #e0e4eb;
    --sidebar-active-bg: rgba(99, 132, 255, 0.15);
    --sidebar-active-text: #6384ff;
    --sidebar-section-label: #6b7280;

    --content-bg: #f4f6f9;
    --card-bg: #ffffff;
    --card-border: #e8ecf1;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.08);

    --text-primary: #1a1d26;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;

    --accent-blue: #6384ff;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-orange: #f59e0b;
    --accent-purple: #a855f7;
    --accent-cyan: #06b6d4;
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background: var(--content-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* ── Remove top navbar — we use sidebar brand ── */
.top-navbar {
    display: none !important;
}

/* ── Sidebar ── */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1030;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

/* Brand area */
.sidebar-brand {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--sidebar-border);
    margin-bottom: 8px;
}

.sidebar-brand h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: -0.02em;
}

.sidebar-brand small {
    color: var(--sidebar-text);
    font-size: 0.72rem;
    font-weight: 400;
}

/* Nav */
.sidebar-nav {
    padding: 4px 0;
    flex: 1;
}

/* Section labels */
.sidebar-label {
    display: block;
    padding: 16px 20px 6px;
    color: var(--sidebar-section-label);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Links */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.15s ease;
    border-radius: 0;
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-link:hover {
    color: var(--sidebar-text-hover);
    background: rgba(255,255,255,0.04);
}

.sidebar-link.active {
    color: var(--sidebar-active-text);
    background: var(--sidebar-active-bg);
    border-left-color: var(--sidebar-active-text);
    font-weight: 500;
}

.sidebar-link.sub {
    padding-left: 50px;
    font-size: 0.82rem;
}

.sidebar-link i {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-link .badge,
.sidebar-badge {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 600;
    min-width: 20px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
}

/* Collapsible sections */
.sidebar-section {
    margin-top: 2px;
}

.sidebar-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
}

.sidebar-heading:hover {
    color: var(--sidebar-text-hover);
    background: rgba(255,255,255,0.04);
}

.sidebar-heading i {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
}

.sidebar-arrow {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    opacity: 0.5;
}

.sidebar-heading[aria-expanded="true"] .sidebar-arrow {
    transform: rotate(180deg);
}

/* Sidebar footer */
.sidebar-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--sidebar-border);
}

.sidebar-footer a {
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    transition: color 0.15s;
}

.sidebar-footer a:hover {
    color: var(--accent-red);
}

/* ── Main Content ── */
.main-content {
    margin-left: var(--sidebar-width);
    margin-top: 0;
    min-height: 100vh;
    background: var(--content-bg);
    transition: margin-left 0.3s ease;
}

.main-content > .container-fluid {
    max-width: 1400px;
}

/* ── Page Header ── */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 4px;
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 2px 0 0;
}

/* ── Top bar (visible in content) ── */
.content-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    margin-bottom: 8px;
}

.content-topbar .user-greeting {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.content-topbar .user-greeting strong {
    color: var(--text-primary);
}

/* ── Cards ── */
.card {
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    background: var(--card-bg);
}

.card-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--card-border);
    padding: 14px 20px;
    font-weight: 600;
}

/* Stat cards */
.stat-card {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.stat-card .stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 400;
}

/* Stat icon color variants */
.stat-icon-blue    { background: rgba(99,132,255,0.12); color: var(--accent-blue); }
.stat-icon-green   { background: rgba(34,197,94,0.12);  color: var(--accent-green); }
.stat-icon-red     { background: rgba(239,68,68,0.12);  color: var(--accent-red); }
.stat-icon-orange  { background: rgba(245,158,11,0.12); color: var(--accent-orange); }
.stat-icon-purple  { background: rgba(168,85,247,0.12); color: var(--accent-purple); }
.stat-icon-cyan    { background: rgba(6,182,212,0.12);  color: var(--accent-cyan); }

/* ── Tables ── */
.table-card {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
}

.table-card .card-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--card-border);
    padding: 14px 20px;
}

.table {
    margin-bottom: 0;
}

.table th {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-bottom: 2px solid #edf0f5;
    border-top: none;
    padding: 14px 16px 10px;
    white-space: nowrap;
    background: #fafbfc;
}

.table td {
    vertical-align: middle;
    font-size: 0.87rem;
    padding: 14px 16px;
    color: var(--text-primary);
    border-bottom: 1px solid #f0f2f5;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table-hover tbody tr {
    transition: background 0.12s ease;
}

.table-hover tbody tr:hover {
    background: rgba(99,132,255,0.03);
}

/* Row numbering / ID column */
.table .col-id {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Slug column */
.table .col-slug {
    font-family: 'SFMono-Regular', Consolas, 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--accent-purple);
    background: rgba(168,85,247,0.06);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Count badges in tables */
.table .badge-count {
    min-width: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 8px;
    line-height: 1;
}

.badge-count-blue   { background: rgba(99,132,255,0.12);  color: var(--accent-blue); }
.badge-count-green  { background: rgba(34,197,94,0.12);   color: var(--accent-green); }
.badge-count-orange { background: rgba(245,158,11,0.12);  color: var(--accent-orange); }
.badge-count-purple { background: rgba(168,85,247,0.12);  color: var(--accent-purple); }

/* Order/sort column */
.table .col-order {
    font-weight: 600;
    color: var(--text-secondary);
}

/* Action buttons in tables */
.table .btn-action {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0;
    border: none;
    background: rgba(99,132,255,0.09);
    color: var(--accent-blue);
    transition: all 0.18s ease;
    font-size: 0.82rem;
    cursor: pointer;
}

.table .btn-action:hover {
    background: rgba(99,132,255,0.18);
    transform: scale(1.08);
}

.table .btn-action-danger {
    color: var(--accent-red);
    background: rgba(239,68,68,0.08);
}
.table .btn-action-danger:hover {
    background: rgba(239,68,68,0.17);
}

/* Actions cell */
.table .td-actions {
    white-space: nowrap;
}
.table .td-actions .btn-action + form,
.table .td-actions .btn-action + .btn-action,
.table .td-actions form + .btn-action {
    margin-left: 4px;
}
.table .td-actions form {
    display: inline;
}

/* Name columns — slightly bolder */
.table .col-name {
    font-weight: 500;
    color: var(--text-primary);
}

/* ── Status Badges ── */
.badge-active    { background: #dcfce7; color: #166534; font-weight: 600; padding: 5px 10px; line-height: 1; }
.badge-inactive  { background: #fee2e2; color: #991b1b; font-weight: 600; padding: 5px 10px; line-height: 1; }
.badge-pending   { background: #fef3c7; color: #92400e; font-weight: 600; padding: 5px 10px; line-height: 1; }
.badge-new       { background: #dcfce7; color: #166534; font-weight: 600; font-size: 0.72rem; padding: 4px 10px; border-radius: 4px; }
.badge-read      { background: #e0e7ff; color: #3730a3; font-weight: 600; font-size: 0.72rem; padding: 4px 10px; border-radius: 4px; }
.badge-published { background: #dcfce7; color: #166534; font-weight: 600; font-size: 0.72rem; padding: 4px 10px; border-radius: 4px; }

/* ── Price Matrix ── */
.price-matrix {
    overflow-x: auto;
}

.price-matrix table {
    min-width: 600px;
}

.price-matrix input {
    width: 80px;
    text-align: right;
}

.price-matrix .zone-header {
    background: #f8fafc;
    font-weight: 600;
}

/* ── Price Grid (Car Groups) ── */
.price-grid {
    border-collapse: separate;
    border-spacing: 0;
    font-variant-numeric: tabular-nums;
}
.price-grid th, .price-grid td {
    border: none;
    padding: 10px 14px;
    vertical-align: middle;
}
.price-grid thead tr {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
.price-grid-corner {
    border-right: 2px solid #e2e8f0 !important;
    min-width: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

/* Season column header */
.season-col {
    padding: 10px 8px !important;
    min-width: 100px;
    text-align: center;
    position: relative;
}
.season-col .season-name {
    display: block;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
}
.season-col .season-mod,
.season-mod {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 10px;
    margin-top: 3px;
}
.season-mod-up   { background: #fef2f2; color: #dc2626; }
.season-mod-down { background: #eff6ff; color: #2563eb; }
.season-mod-zero { background: #f0fdf4; color: #16a34a; }

/* Active season column highlight */
.season-col-active {
    background: rgba(34, 197, 94, 0.07) !important;
}
.price-cell-active {
    background: rgba(34, 197, 94, 0.04);
}

/* Day range cells (first column) */
.price-grid-days {
    border-right: 2px solid #e2e8f0 !important;
    white-space: nowrap;
}
.price-grid-days .day-range {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-primary);
    line-height: 1.2;
}
.price-grid-days .day-base {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.price-grid-days .day-type {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.7;
}

/* Price cells */
.price-grid-cell {
    text-align: center;
    transition: background 0.12s;
}
.price-grid-cell:hover {
    background: #f0f4ff !important;
}
.price-val {
    font-weight: 600;
    font-size: 0.9rem;
}
.price-up   { color: #dc2626; }
.price-down { color: #2563eb; }
.price-base { color: #16a34a; }

/* Alternating rows */
.price-row-even td {
    background: rgba(0, 0, 0, 0.018);
}
.price-row-even .price-cell-active {
    background: rgba(34, 197, 94, 0.06);
}

/* Footer row with edit links */
.price-grid-footer td {
    background: #f8fafc;
    border-top: 2px solid #e2e8f0 !important;
    padding: 8px 14px;
    text-align: center;
}
.season-edit-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.15s;
}
.season-edit-link:hover {
    color: var(--accent-blue);
}

/* Pulsing active season dot */
@keyframes pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70%  { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-green 1.8s infinite;
    vertical-align: middle;
    margin-left: 4px;
}

/* ── Forms ── */
.form-card {
    border: 1px solid var(--card-border);
    border-radius: 10px;
}

.form-card .card-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--card-border);
}

.form-control, .form-select {
    border-color: #dde1e7;
    font-size: 0.87rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(99,132,255,0.12);
}

.form-label {
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

/* ── Buttons ── */
.btn {
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    padding: 8px 16px;
}

.btn-primary {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-primary:hover {
    background: #4f6fef;
    border-color: #4f6fef;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* ── Alerts ── */
.alert {
    border-radius: 10px;
    border: none;
    font-size: 0.87rem;
}

/* ── Modal ── */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.modal-header {
    border-bottom: 1px solid var(--card-border);
    padding: 16px 24px;
}

.modal-body {
    padding: 20px 24px;
}

.modal-footer {
    border-top: 1px solid var(--card-border);
    padding: 12px 24px;
}

/* ── Nav Tabs (for language tabs etc.) ── */
.nav-tabs {
    border-bottom: 2px solid #e8ecf1;
}

.nav-tabs .nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: none;
    padding: 8px 16px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.15s;
}

.nav-tabs .nav-link:hover {
    color: var(--text-primary);
    border-bottom-color: #cbd5e1;
}

.nav-tabs .nav-link.active {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
    background: transparent;
}

/* ── Login Page ── */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b4a6b 0%, var(--sidebar-bg) 100%);
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 1rem;
}

.login-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* ── 403 Page ── */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.error-page h1 {
    font-size: 5rem;
    font-weight: 800;
    color: #e2e8f0;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .mobile-toggle {
        display: flex !important;
    }
}

/* Mobile toggle button (hidden on desktop) */
.mobile-toggle {
    display: none !important;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1040;
    background: var(--sidebar-bg);
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ── Misc ── */
.cursor-pointer { cursor: pointer; }
.text-xs { font-size: 0.75rem; }
.w-80 { width: 80px; }
.fw-600 { font-weight: 600; }
.fw-800 { font-weight: 800; }

.editable-price {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.editable-price:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(99, 132, 255, 0.15);
}

.badge-perm {
    background: rgba(99, 132, 255, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(99, 132, 255, 0.25);
    font-weight: 600;
    font-size: 0.7rem;
    padding: 2px 6px;
}
.ls-tight { letter-spacing: -0.02em; }

/* Dropdown menus */
.dropdown-menu {
    border: 1px solid var(--card-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-size: 0.85rem;
}

/* Scrollbar for main content */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* ============================================
   Dark Mode
   ============================================ */
[data-bs-theme="dark"] {
    --sidebar-bg: #1a1d2e;
    --sidebar-border: #2a2d3e;
    --sidebar-text: #8b92a8;
    --sidebar-text-hover: #e0e4eb;
    --sidebar-active-bg: rgba(99, 132, 255, 0.2);
    --sidebar-active-text: #7c9bff;
    --sidebar-section-label: #555b6e;

    --content-bg: #0f1117;
    --card-bg: #1a1d2e;
    --card-border: #2a2d3e;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.3);
    --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.4);

    --text-primary: #e4e7ed;
    --text-secondary: #9ca3b4;
    --text-muted: #6b7280;
}

[data-bs-theme="dark"] .table {
    --bs-table-bg: var(--card-bg);
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: var(--card-border);
    --bs-table-striped-bg: rgba(255,255,255,0.03);
    --bs-table-hover-bg: rgba(255,255,255,0.05);
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #12141f;
    border-color: var(--card-border);
    color: var(--text-primary);
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #12141f;
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: var(--card-bg);
    border-color: var(--card-border);
}

[data-bs-theme="dark"] .dropdown-item {
    color: var(--text-primary);
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: rgba(99,132,255,0.1);
}

[data-bs-theme="dark"] .modal-content {
    background-color: var(--card-bg);
    border-color: var(--card-border);
}

[data-bs-theme="dark"] .btn-outline-secondary {
    color: var(--text-secondary);
    border-color: var(--card-border);
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb { background: #3a3d4e; }
[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: #555b6e; }

/* ============================================
   High Contrast Mode
   ============================================ */
[data-bs-theme="high-contrast"] {
    --sidebar-bg: #000000;
    --sidebar-border: #ffffff;
    --sidebar-text: #ffffff;
    --sidebar-text-hover: #ffff00;
    --sidebar-active-bg: #1a1aff;
    --sidebar-active-text: #ffff00;
    --sidebar-section-label: #00ffff;

    --content-bg: #000000;
    --card-bg: #000000;
    --card-border: #ffffff;
    --card-shadow: none;
    --card-shadow-hover: 0 0 0 2px #ffff00;

    --text-primary: #ffffff;
    --text-secondary: #00ffff;
    --text-muted: #00ff00;

    --accent-blue: #5c8aff;
    --accent-green: #00ff00;
    --accent-red: #ff4444;
    --accent-orange: #ffaa00;
}

[data-bs-theme="high-contrast"] .card {
    border-width: 2px;
}

[data-bs-theme="high-contrast"] .table {
    --bs-table-bg: #000000;
    --bs-table-color: #ffffff;
    --bs-table-border-color: #ffffff;
}

[data-bs-theme="high-contrast"] .form-control,
[data-bs-theme="high-contrast"] .form-select {
    background-color: #000000;
    border: 2px solid #ffffff;
    color: #ffffff;
}

[data-bs-theme="high-contrast"] .form-control:focus,
[data-bs-theme="high-contrast"] .form-select:focus {
    border-color: #ffff00;
    box-shadow: 0 0 0 2px #ffff00;
}

[data-bs-theme="high-contrast"] .btn-primary {
    background-color: #1a1aff;
    border: 2px solid #ffffff;
    color: #ffffff;
}

[data-bs-theme="high-contrast"] .btn-outline-secondary {
    border: 2px solid #ffffff;
    color: #ffffff;
}

[data-bs-theme="high-contrast"] .dropdown-menu {
    background-color: #000000;
    border: 2px solid #ffffff;
}

[data-bs-theme="high-contrast"] .dropdown-item {
    color: #ffffff;
}

[data-bs-theme="high-contrast"] .dropdown-item:hover,
[data-bs-theme="high-contrast"] .dropdown-item.active {
    background-color: #1a1aff;
    color: #ffff00;
}

[data-bs-theme="high-contrast"] .modal-content {
    background-color: #000000;
    border: 2px solid #ffffff;
}

[data-bs-theme="high-contrast"] a {
    color: #5c8aff;
    text-decoration: underline;
}

[data-bs-theme="high-contrast"] .sidebar a {
    text-decoration: none;
}

/* Theme toggle active indicator */
.theme-option.active {
    font-weight: 600;
}
.theme-option.active::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-blue, #6384ff);
    margin-right: 6px;
    vertical-align: middle;
}
