/* Tema Değişkenleri */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #f4b400;
    --accent-strong: #cf9400;
    --text-color: #2d3436;
    --muted-text: #5f6b76;
    --light-text: #6b7280;
    --bg-color: #f8f9fa;
    --input-bg: #ffffff;
    --input-border: #e9ecef;
    --icon-color: #2c3e50;
    --placeholder-color: #6c757d;
    --sidebar-bg: #111827;
    --sidebar-text: #ffffff;
    --sidebar-hover: #f4b400;
    --sidebar-border: rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
    --table-border: #dee2e6;
    --submenu-bg: #222222;
    --active-menu-bg: rgba(244, 180, 0, 0.16);
}

/* Dark Tema */
body.dark-theme {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #f4b400;
    --accent-strong: #facc15;
    --text-color: #e9ecef;
    --muted-text: #c3ced8;
    --light-text: #a8b3bf;
    --bg-color: #1a1d21;
    --input-bg: #2a303c;
    --input-border: #404756;
    --icon-color: #ffffff;
    --placeholder-color: #adb5bd;
    --sidebar-bg: #111827;
    --sidebar-text: #ffffff;
    --sidebar-hover: #f4b400;
    --sidebar-border: rgba(255, 255, 255, 0.1);
    --card-bg: #242931;
    --table-border: #404040;
    --submenu-bg: #222222;
    --active-menu-bg: rgba(244, 180, 0, 0.16);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Genel Stiller */
body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
}

/* Container Stiller */
.auth-container {
    background-color: var(--bg-color);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    width: 100%;
}

/* Logo Stilleri */
.auth-logo {
    max-height: 60px;
    width: auto;
    margin: 0 auto 1rem;
    display: block;
}

.light-logo {
    display: block;
}

.dark-logo {
    display: none;
}

body.dark-theme .dark-logo {
    display: block;
}

body.dark-theme .light-logo {
    display: none;
}

/* Sidebar Logo */
.sidebar-logo {
    max-height: 40px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Sidebar Brand */
.sidebar-brand {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--sidebar-border);
    margin-bottom: 0;
    height: 80px;
}

/* Auth Container Logo Alanı */
.auth-container .text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Form Elemanları */
.form-control {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--text-color);
}

.form-control:focus {
    background-color: var(--input-bg);
    border-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 206, 209, 0.25);
}

.form-control::placeholder {
    color: var(--placeholder-color) !important;
    opacity: 0.7;
}

.input-group-text {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--text-color);
}

.input-group-text i {
    color: var(--icon-color) !important;
}

/* Butonlar */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #00A9AB;
    border-color: #00A9AB;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    color: var(--icon-color);
    border-color: var(--input-border);
    background-color: var(--input-bg);
}

.btn-outline-secondary:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background-color: var(--input-bg);
}

.btn-outline-secondary:focus {
    box-shadow: none;
}

/* Tema Değiştirme Butonu */
.theme-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--input-border);
    z-index: 1000;
}

.theme-switch:hover {
    background-color: var(--input-bg);
    color: var(--text-color);
    border-color: var(--accent-color);
}

/* Metin Stilleri */
.text-muted {
    color: var(--muted-text) !important;
    opacity: 1;
}

.page-header {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 2rem !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-header::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* İkonlar */
.feature-icon {
    color: var(--icon-color) !important;
    transition: color 0.3s ease;
}

/* Linkler */
.custom-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-link:hover {
    color: #00A9AB;
    text-decoration: underline;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Mobil Menü Butonu */
.mobile-menu-btn {
    position: fixed;
    top: 20px;
    right: 70px;
    z-index: 1050;
    color: var(--text-color);
    background-color: var(--bg-color);
    border: 1px solid var(--input-border);
    width: 38px;
    height: 38px;
    padding: 0;
    display: none;
    border-radius: 0.375rem;
}

.mobile-menu-btn:hover {
    background-color: var(--input-bg);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

@media (max-width: 991.98px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Sidebar Stiller */
.sidebar {
    background:
        radial-gradient(circle at 0% 0%, rgba(244, 180, 0, 0.16), transparent 42%),
        radial-gradient(circle at 100% 100%, rgba(36, 59, 95, 0.28), transparent 46%),
        linear-gradient(180deg, #101827 0%, #172334 48%, #111827 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 100vh;
    width: 280px !important;
    flex: 0 0 280px;
    max-width: 280px;
}

.sidebar-content {
    height: 100vh;
    overflow-y: auto;
}

.sidebar .nav-link {
    position: relative;
    padding: 0.8rem 1rem;
    color: #e7edf6;
    border-radius: 0.75rem;
    margin: 0.2rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar .nav-link i:first-child {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #ffd166;
}

.sidebar .nav-link.active {
    background: linear-gradient(90deg, rgba(244, 180, 0, 0.24), rgba(244, 180, 0, 0.08));
    color: #fff4d1;
    box-shadow: 0 7px 18px rgba(244, 180, 0, 0.12);
}

.sidebar .nav-link:hover {
    color: #fff4d1;
    background-color: rgba(244, 180, 0, 0.12);
}

.sidebar .nav-link i.fa-chevron-down {
    font-size: 0.8rem;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.sidebar .nav-link[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Sidebar Menü Stilleri */
.nav-link {
    position: relative;
    padding: 0.8rem 1rem;
    color: #e7edf6;
    border-radius: 0.75rem;
    margin: 0.2rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link i:first-child {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #ffd166;
}

.nav-link.active {
    background: linear-gradient(90deg, rgba(244, 180, 0, 0.24), rgba(244, 180, 0, 0.08));
    color: #fff4d1;
    box-shadow: 0 7px 18px rgba(244, 180, 0, 0.12);
}

.nav-link:hover {
    color: #fff4d1;
    background-color: rgba(244, 180, 0, 0.12);
}

.nav-link i.fa-chevron-down {
    font-size: 0.8rem;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.nav-link[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Alt Menü Stilleri */
.nav-submenu {
    padding: 0.5rem 0 0.5rem 2.7rem;
}

.nav-submenu .nav-link {
    padding: 0.5rem 1rem;
    margin: 0;
    font-size: 0.9rem;
    border-radius: 0;
    border-left: 2px solid var(--sidebar-border);
}

.nav-submenu .nav-link:hover,
.nav-submenu .nav-link.active {
    border-left-color: #f4b400;
}

.nav-submenu .nav-link i {
    font-size: 0.9rem;
}

/* Ortak Menü Ağacı */
.menu-tree {
    display: grid;
    gap: 7px;
}

.menu-tree .nav-item {
    display: block;
}

.menu-tree .nav-link {
    color: #e7edf6;
    text-decoration: none;
    padding: 12px 13px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
    position: relative;
}

.menu-tree .nav-link i:first-child {
    width: 18px;
    text-align: center;
    color: #ffd166;
    flex-shrink: 0;
}

.menu-tree .nav-link .badge {
    margin-left: auto;
}

.menu-tree .nav-link.active,
.menu-tree .nav-link:hover {
    background: rgba(244, 180, 0, 0.16);
    outline: 1px solid rgba(244, 180, 0, 0.45);
    color: #fff4d1;
}

.menu-tree .nav-link[data-menu-toggle="collapse"] .fa-chevron-down {
    transition: transform 0.18s ease;
}

.menu-tree .nav-link[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.menu-tree .collapse {
    display: none;
}

.menu-tree .collapse.show {
    display: block;
}

.menu-tree .nav-submenu {
    margin: 6px 0 0 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 5px;
}

.menu-tree .nav-submenu .nav-link {
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.03);
    margin: 0;
}

.menu-tree .nav-submenu .nav-link i:first-child {
    color: #ffe08a;
    width: 18px;
}

.menu-tree .nav-link.text-danger {
    color: #dc3545 !important;
}

.menu-tree .nav-link.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545 !important;
}

/* Çıkış Yap Butonu */
.nav-link.text-danger {
    color: #dc3545 !important;
}

.nav-link.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545 !important;
}

/* Offcanvas Stiller */
.offcanvas-lg {
    --bs-offcanvas-bg: var(--sidebar-bg);
    --bs-offcanvas-color: var(--sidebar-text);
    background-color: var(--sidebar-bg);
    color: var(--sidebar-text);
}

.offcanvas-header {
    border-bottom: 1px solid var(--sidebar-border);
}

.offcanvas-header .btn-close {
    filter: invert(1);
}

.offcanvas-title {
    color: var(--sidebar-text);
}

.sidebar .offcanvas-body,
.sidebar .sidebar-content {
    background: transparent;
    color: var(--sidebar-text);
}

@media (min-width: 992px) {
    .offcanvas-lg {
        transform: none !important;
        visibility: visible !important;
        position: sticky !important;
        top: 0;
        height: 100vh;
    }
    
    .offcanvas-header {
        display: none;
    }
}

/* Kart Stilleri */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--input-border);
}

.card-body {
    color: var(--text-color);
}

.card-title {
    color: var(--text-color);
}

/* Tablo Stilleri */
.table {
    color: var(--text-color);
}

.table thead th {
    border-bottom-color: var(--table-border);
}

.table td, .table th {
    border-color: var(--table-border);
}

/* Badge Stilleri */
.badge.bg-success {
    background-color: #198754 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000;
}

/* Ana İçerik Stilleri */
.main-content {
    background-color: var(--bg-color);
    min-height: 100vh;
    padding: 2rem;
    flex: 1 1 auto;
    width: calc(100% - 280px);
    max-width: calc(100% - 280px);
    min-width: 0;
}

/* İstatistik Kartları */
.dashboard-card {
    border: none;
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
    position: relative;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.dashboard-card:hover::before {
    opacity: 1;
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0.5rem 0;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

/* Hızlı İşlemler */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0.5rem;
}

.quick-actions .btn {
    border-radius: 12px;
    padding: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    border: 1px solid var(--input-border);
    color: var(--text-color);
    margin: 0.5rem;
    min-width: 200px;
}

.quick-actions .btn i {
    font-size: 1.2rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.quick-actions .btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.quick-actions .btn:hover i {
    color: white;
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .stat-icon {
        font-size: 2rem;
        padding: 0.75rem;
    }

    .content-header {
        padding: 1rem;
    }

    .page-title {
        font-size: 1.25rem;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .container-fluid,
    .container-fluid > .row {
        --bs-gutter-x: 0;
    }

    .sidebar {
        max-width: none;
    }

    .main-content {
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        padding: 5.25rem 1rem 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .main-content {
        padding: 5.5rem 1.25rem 1.25rem;
    }
}

@media (min-width: 992px) {
    .container-fluid > .row {
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .main-content {
        padding: 2rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-content {
        padding: 1.35rem;
    }
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
    .main-content {
        padding: 1.6rem;
    }
}

@media (min-width: 1440px) {
    .main-content {
        padding: 2rem 2.1rem;
    }
}

/* Profil Stilleri */
.sidebar-profile {
    background-color: rgba(0, 206, 209, 0.05);
    margin: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    padding: 1.5rem 1rem 1rem;
    border: none;
}

.sidebar-profile:hover {
    background-color: rgba(0, 206, 209, 0.1);
    transform: translateY(-2px);
}

.profile-avatar {
    margin-bottom: 1rem;
    display: inline-grid;
    place-items: center;
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(201, 163, 74, 0.18), rgba(15, 23, 42, 0.92));
}

.profile-avatar-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3dfb0, #d7b15a);
    color: #1a2431;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    border: 3px solid var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 206, 209, 0.2);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 206, 209, 0.2);
    position: relative;
    z-index: 1;
}

.profile-avatar.has-image .profile-avatar-fallback,
.profile-avatar.avatar-loaded .profile-avatar-fallback {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}

.profile-avatar.avatar-broken img {
    opacity: 0;
}

.sidebar-profile:hover .profile-avatar img {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 206, 209, 0.3);
}

.profile-info h6 {
    color: var(--sidebar-text);
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.profile-info p {
    color: var(--sidebar-text);
    opacity: 0.7;
    font-size: 0.8rem;
    margin: 0;
    transition: all 0.3s ease;
}

.sidebar-profile:hover .profile-info h6 {
    color: var(--accent-color);
}

.sidebar-profile:hover .profile-info p {
    opacity: 0.9;
}

.profile-status {
    width: 16px;
    height: 16px;
    background-color: #22c55e;
    border-radius: 50%;
    border: 2px solid var(--sidebar-bg);
    position: absolute;
    bottom: 5px;
    right: 5px;
}

/* Content Header Stilleri */
.content-header {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 206, 209, 0.1);
}

.content-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-color), rgba(0, 206, 209, 0.2));
    border-radius: 4px;
}

.page-title {
    color: var(--text-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    letter-spacing: -0.5px;
    line-height: 1.3;
    background: linear-gradient(45deg, var(--text-color) 30%, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 400;
    position: relative;
    padding-left: 1.5rem;
}

.page-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1rem;
    height: 2px;
    background: var(--accent-color);
    transform: translateY(-50%);
}

.header-title-wrap {
    position: relative;
    padding-right: 1rem;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.header-actions .btn {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 206, 209, 0.05);
}

.header-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 206, 209, 0.15);
}

.header-actions .btn i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .content-header {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 1.4rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .header-actions {
        margin-top: 1rem;
        width: 100%;
        justify-content: flex-start;
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
}

.content-body {
    background: transparent;
}

.content-body .card {
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
} 
.dashboard-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.main-content {
    background-color: var(--bg-color);
    min-height: 100vh;
}

.quick-actions .btn {
    margin: 0.5rem;
    min-width: 200px;
}

/* Premium Admin Polish */
.sidebar {
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 206, 209, 0.16), transparent 42%),
        radial-gradient(circle at 100% 100%, rgba(15, 159, 162, 0.22), transparent 46%),
        var(--sidebar-bg);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05), 10px 0 32px rgba(5, 10, 20, 0.2);
}

.sidebar-content {
    padding-bottom: 1rem;
}

.sidebar-brand {
    height: auto;
    min-height: 84px;
    padding: 1.15rem 1.15rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-logo {
    max-height: 36px;
    filter: drop-shadow(0 4px 12px rgba(201, 163, 74, 0.18));
}

.sidebar-profile {
    margin: 0.95rem 0.9rem 0.75rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(2px);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-width: 2px;
}

.profile-avatar {
    width: 74px;
    height: 74px;
}

.profile-avatar-fallback {
    font-size: 1.2rem;
    border-width: 2px;
}

.sidebar .nav-link,
.nav-link {
    margin: 0.12rem 0.8rem;
    border-radius: 10px;
    padding: 0.68rem 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.sidebar .nav-link i:first-child,
.nav-link i:first-child {
    width: 18px;
    font-size: 1rem;
    opacity: 1;
}

.sidebar .nav-link:hover,
.nav-link:hover {
    border-color: rgba(201, 163, 74, 0.42);
    background-color: rgba(201, 163, 74, 0.12);
    transform: translateX(2px);
}

.sidebar .nav-link.active,
.nav-link.active {
    border-color: rgba(201, 163, 74, 0.52);
    background: linear-gradient(90deg, rgba(201, 163, 74, 0.22), rgba(201, 163, 74, 0.08));
    color: #fff4d1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
}

.nav-submenu {
    padding: 0.32rem 0 0.5rem 2.15rem;
}

.nav-submenu .nav-link {
    margin: 0.1rem 0.55rem 0.1rem 0;
    border-left: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 0 10px 10px 0;
    font-size: 0.84rem;
    padding: 0.48rem 0.7rem;
}

.theme-switch,
.mobile-menu-btn {
    border-radius: 999px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 20px rgba(8, 15, 29, 0.13);
}

.mobile-menu-btn {
    right: 72px;
}

.theme-switch:hover,
.mobile-menu-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(8, 15, 29, 0.17);
}

body.dark-theme .mobile-menu-btn {
    color: #f8fafc;
    background: linear-gradient(180deg, rgba(23, 35, 52, 0.96), rgba(16, 24, 39, 0.96));
    border-color: rgba(210, 173, 88, 0.32);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

body.dark-theme .mobile-menu-btn i,
body.dark-theme .mobile-menu-btn .navbar-toggler-icon {
    color: #f6deb0;
}

body.dark-theme .mobile-menu-btn:hover,
body.dark-theme .mobile-menu-btn:focus {
    color: #fff7df;
    background: linear-gradient(180deg, rgba(33, 49, 71, 0.98), rgba(20, 30, 46, 0.98));
    border-color: rgba(242, 173, 0, 0.52);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38);
}

body.dark-theme .theme-switch {
    color: #f8fafc;
    background: linear-gradient(180deg, rgba(23, 35, 52, 0.96), rgba(16, 24, 39, 0.96));
    border-color: rgba(210, 173, 88, 0.32);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

body.dark-theme .theme-switch i,
body.dark-theme .theme-switch svg {
    color: #f6deb0;
    fill: currentColor;
}

body.dark-theme .theme-switch:hover,
body.dark-theme .theme-switch:focus {
    color: #fff7df;
    background: linear-gradient(180deg, rgba(33, 49, 71, 0.98), rgba(20, 30, 46, 0.98));
    border-color: rgba(242, 173, 0, 0.52);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38);
}

.main-content {
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 206, 209, 0.06), transparent 26%),
        linear-gradient(180deg, #f7fafd, var(--bg-color));
}

.content-header {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(10, 22, 40, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88)),
        var(--card-bg);
}

.content-header::before {
    width: 5px;
    background: linear-gradient(180deg, #00ced1, #0f9fa2);
}

.page-title {
    color: #1b2734;
    -webkit-text-fill-color: currentColor;
    background: none;
    font-size: 1.7rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    color: #4f5a66;
    opacity: 0.95;
    font-size: 0.95rem;
    padding-left: 1.2rem;
}

.page-subtitle::before {
    width: 0.72rem;
    height: 2px;
}

@media (max-width: 991.98px) {
    .sidebar {
        box-shadow: none;
    }

    .theme-switch,
    .mobile-menu-btn {
        width: 38px;
        height: 38px;
    }

    .main-content {
        background: var(--bg-color);
    }
}

/* Premium Global Surface System */
.card {
    border-radius: 14px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.card-header {
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 253, 0.92));
    padding: 1rem 1.15rem;
}

.card-header.bg-light,
.card-header.bg-white,
.card-header.bg-transparent {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 253, 0.92)) !important;
}

.card-body {
    padding: 1rem 1.15rem;
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid rgba(16, 24, 40, 0.12);
    min-height: 40px;
    font-size: 0.92rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(0, 206, 209, 0.72);
    box-shadow: 0 0 0 0.22rem rgba(0, 206, 209, 0.16);
}

.input-group > .form-control,
.input-group > .form-select {
    border-left: 0;
}

.input-group-text {
    border-radius: 10px;
    border: 1px solid rgba(16, 24, 40, 0.12);
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.btn-sm {
    border-radius: 9px;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-dark {
    border-width: 1px;
    background: rgba(255, 255, 255, 0.78);
}

.table-responsive {
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 12px;
    background: var(--card-bg);
}

.table {
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    padding: 0.72rem 0.75rem;
    border-bottom-color: rgba(16, 24, 40, 0.08);
}

.table thead th {
    background: rgba(0, 206, 209, 0.07);
    color: #304252;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.table tbody tr:hover {
    background: rgba(0, 206, 209, 0.05);
}

.filter-wrapper {
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 251, 253, 0.92));
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.content-body .card + .card {
    margin-top: 1rem;
}

.pagination .page-link {
    border-radius: 9px !important;
    border-color: rgba(16, 24, 40, 0.12);
}

.pagination .page-item.active .page-link {
    box-shadow: 0 8px 18px rgba(0, 206, 209, 0.2);
}

body.dark-theme .card {
    border-color: rgba(172, 188, 211, 0.18);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

body.dark-theme {
    background:
        radial-gradient(circle at top left, rgba(244, 180, 0, 0.08), transparent 28%),
        linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: var(--text-color);
    --bs-body-bg: #0f172a;
    --bs-body-color: #e5eef9;
    --bs-secondary-bg: #111c2f;
    --bs-tertiary-bg: #162033;
    --bs-border-color: rgba(172, 188, 211, 0.18);
    --bs-emphasis-color: #ffffff;
}

body.dark-theme .card-header,
body.dark-theme .card-header.bg-light,
body.dark-theme .card-header.bg-white,
body.dark-theme .card-header.bg-transparent {
    background: linear-gradient(180deg, rgba(44, 52, 65, 0.96), rgba(37, 44, 56, 0.92)) !important;
    border-bottom-color: rgba(172, 188, 211, 0.16);
}

body.dark-theme .form-control,
body.dark-theme .form-select,
body.dark-theme .input-group-text {
    border-color: rgba(172, 188, 211, 0.22);
}

body.dark-theme .table-responsive {
    border-color: rgba(172, 188, 211, 0.2);
}

body.dark-theme .table thead th {
    background: rgba(0, 206, 209, 0.14);
    color: #d2e7f2;
}

body.dark-theme .table > :not(caption) > * > * {
    border-bottom-color: rgba(172, 188, 211, 0.14);
}

body.dark-theme .table tbody tr:hover {
    background: rgba(0, 206, 209, 0.1);
}

body.dark-theme .table {
    --bs-table-bg: transparent;
    --bs-table-color: #d8e1ec;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-striped-color: #e5eef9;
    --bs-table-hover-bg: rgba(244, 180, 0, 0.08);
    --bs-table-hover-color: #f8fbff;
    --bs-table-border-color: rgba(172, 188, 211, 0.14);
}

body.dark-theme .filter-wrapper {
    border-color: rgba(172, 188, 211, 0.18);
    background: linear-gradient(180deg, rgba(36, 44, 57, 0.95), rgba(31, 38, 50, 0.9));
}

/* Premium Typography & Form Consistency */
.card .card-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1f2c3a;
    letter-spacing: -0.01em;
}

.dashboard-card .card-title,
.analytics-kpi-card .card-title {
    font-size: 2rem;
}

.card-header .text-muted,
.card-header small {
    color: #5f6b78 !important;
}

.content-list .list-item {
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.content-list .list-item-content {
    padding: 1rem 1.1rem;
}

.row.justify-content-center .card.shadow-sm {
    border-radius: 14px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.row.justify-content-center .card.shadow-sm .card-body {
    padding: 1.15rem 1.2rem;
}

body.dark-theme .card .card-title {
    color: #e6edf4;
}

body.dark-theme .card-header .text-muted,
body.dark-theme .card-header small {
    color: #b5c3d2 !important;
}

body.dark-theme .text-muted,
body.dark-theme small.text-muted,
body.dark-theme .form-text {
    color: var(--muted-text) !important;
    opacity: 1;
}

/* Micro Polish: Density, Rhythm, Mobile Fit */
.content-header {
    margin-bottom: 1.15rem !important;
}

.header-actions {
    gap: 0.6rem;
}

.header-actions .btn {
    min-height: 38px;
    padding: 0.6rem 0.95rem;
}

.card + .card {
    margin-top: 0.95rem;
}

.card-body > .row:last-child,
.card-body > form > .row:last-child {
    margin-bottom: 0;
}

.table thead th,
.table tbody td {
    vertical-align: middle;
}

.table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.table.table-sm > :not(caption) > * > * {
    padding: 0.56rem 0.62rem;
}

.table > :not(caption) > * > * {
    line-height: 1.35;
}

.form-label {
    margin-bottom: 0.42rem;
    font-weight: 600;
    color: #3f4b58;
}

.form-text,
small.text-muted {
    font-size: 0.78rem;
}

.btn-group > .btn,
.btn-group-vertical > .btn {
    box-shadow: none;
}

.btn-outline-secondary,
.btn-outline-primary,
.btn-outline-success,
.btn-outline-info,
.btn-outline-warning,
.btn-outline-danger,
.btn-outline-dark {
    backdrop-filter: blur(1px);
}

.modal-content {
    border-radius: 14px;
    border: 1px solid rgba(16, 24, 40, 0.1);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.modal-header {
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.modal-footer {
    border-top: 1px solid rgba(16, 24, 40, 0.08);
}

body.dark-theme .form-label {
    color: #c5d1de;
}

body.dark-theme .modal-content {
    border-color: rgba(172, 188, 211, 0.2);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

body.dark-theme .modal-header,
body.dark-theme .modal-footer {
    border-color: rgba(172, 188, 211, 0.16);
}

@media (max-width: 1199.98px) {
    .table > :not(caption) > * > * {
        padding: 0.64rem 0.62rem;
    }

    .content-header {
        padding: 1.35rem;
    }
}

@media (max-width: 991.98px) {
    .content-header {
        border-radius: 14px;
        margin-bottom: 1rem !important;
        padding: 1.15rem;
    }

    .header-title-wrap {
        width: 100%;
        padding-right: 0;
    }

    .header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.58rem 0.72rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .main-content {
        padding: 5rem 0.75rem 0.85rem;
    }

    .card-header,
    .card-body {
        padding-left: 0.86rem;
        padding-right: 0.86rem;
    }

    .table-responsive {
        border-radius: 10px;
    }

    .header-actions {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 1.34rem;
    }

    .page-subtitle {
        font-size: 0.86rem;
        padding-left: 0.95rem;
    }

    .page-subtitle::before {
        width: 0.56rem;
    }
}

body .sidebar {
    --bs-offcanvas-bg: #111827;
    --bs-offcanvas-color: #e7edf6;
    background:
        radial-gradient(circle at 0% 0%, rgba(244, 180, 0, 0.16), transparent 42%),
        radial-gradient(circle at 100% 100%, rgba(36, 59, 95, 0.28), transparent 46%),
        linear-gradient(180deg, #101827 0%, #172334 48%, #111827 100%) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e7edf6 !important;
}

body .sidebar .nav-link,
body .nav-link {
    color: #e7edf6 !important;
}

body .sidebar .nav-link i:first-child,
body .nav-link i:first-child {
    color: #ffd166 !important;
}

body .sidebar .nav-link:hover,
body .nav-link:hover {
    border-color: rgba(244, 180, 0, 0.42) !important;
    background-color: rgba(244, 180, 0, 0.12) !important;
    color: #fff4d1 !important;
}

body .sidebar .nav-link.active,
body .nav-link.active {
    border-color: rgba(244, 180, 0, 0.56) !important;
    background: linear-gradient(90deg, rgba(244, 180, 0, 0.22), rgba(244, 180, 0, 0.08)) !important;
    color: #fff4d1 !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22) !important;
}

body .main-content {
    background:
        radial-gradient(circle at 100% 0%, rgba(244, 180, 0, 0.07), transparent 28%),
        linear-gradient(180deg, #f7f9fc, #eef3f8 100%);
}

body .content-header {
    border: 1px solid rgba(17, 38, 67, 0.1);
    box-shadow: 0 12px 24px rgba(13, 25, 45, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 253, 0.96)),
        #ffffff;
}

body .content-header::before {
    background: linear-gradient(180deg, var(--accent-color), var(--accent-strong));
}

body .page-title {
    color: #17263a;
}

body .btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-strong));
    border-color: var(--accent-strong);
    box-shadow: 0 10px 22px rgba(15, 159, 162, 0.14);
}

body .btn-primary:hover {
    background: linear-gradient(135deg, #d7b663, #9a7724);
    border-color: #9a7724;
    box-shadow: 0 12px 24px rgba(154, 119, 36, 0.16);
}

body .form-control:focus,
body .form-select:focus {
    border-color: rgba(201, 163, 74, 0.72);
    box-shadow: 0 0 0 0.22rem rgba(201, 163, 74, 0.18);
}

body .card,
body .content-body .card,
body .row.justify-content-center .card.shadow-sm,
body .filter-wrapper,
body .table-responsive,
body .modal-content {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.97)),
        #ffffff;
    border-color: rgba(17, 38, 67, 0.08);
    box-shadow: 0 10px 22px rgba(13, 25, 45, 0.06);
}

body .card-header,
body .card-header.bg-light,
body .card-header.bg-white,
body .card-header.bg-transparent,
body .modal-header,
body .modal-footer {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 252, 0.96)) !important;
    border-color: rgba(17, 38, 67, 0.08) !important;
}

body .form-control,
body .form-select,
body .input-group-text {
    background-color: rgba(255, 255, 255, 0.96);
    border-color: rgba(17, 38, 67, 0.12);
    color: #243446;
}

body .table thead th {
    background: rgba(201, 163, 74, 0.1);
    color: #2e3f56;
}

body .table tbody td,
body .table tbody th,
body .table > :not(caption) > * > * {
    color: #334556;
    border-bottom-color: rgba(17, 38, 67, 0.07);
}

body .table tbody tr:nth-child(even) td,
body .table tbody tr:nth-child(even) th {
    background: rgba(247, 250, 252, 0.72);
}

body .table tbody tr:hover td,
body .table tbody tr:hover th {
    background: rgba(244, 180, 0, 0.08);
}

body.dark-theme .sidebar .nav-link.active,
body.dark-theme .nav-link.active {
    color: #fff4d1;
}

body.dark-theme .content-header {
    border-color: rgba(210, 173, 88, 0.24);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
    background:
        linear-gradient(180deg, rgba(24, 33, 48, 0.99), rgba(18, 25, 38, 0.98)),
        #182130;
}

body.dark-theme .page-title {
    color: #eef3f9;
}

body.dark-theme .table thead th {
    background: rgba(210, 173, 88, 0.16);
    color: #e8edf5;
}

body.dark-theme .table tbody tr:hover {
    background: rgba(210, 173, 88, 0.1);
}

body.dark-theme .card,
body.dark-theme .content-body .card,
body.dark-theme .row.justify-content-center .card.shadow-sm,
body.dark-theme .filter-wrapper,
body.dark-theme .table-responsive,
body.dark-theme .modal-content {
    background:
        linear-gradient(180deg, rgba(23, 31, 45, 0.99), rgba(18, 25, 37, 0.98)),
        #182131 !important;
    border-color: rgba(210, 173, 88, 0.18) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3) !important;
}

body.dark-theme .card-header,
body.dark-theme .card-header.bg-light,
body.dark-theme .card-header.bg-white,
body.dark-theme .card-header.bg-transparent,
body.dark-theme .modal-header,
body.dark-theme .modal-footer {
    background:
        linear-gradient(180deg, rgba(31, 40, 55, 0.99), rgba(24, 32, 46, 0.98)) !important;
    border-color: rgba(210, 173, 88, 0.16) !important;
}

body.dark-theme .sidebar-profile {
    background: linear-gradient(180deg, #243042, #1b2637) !important;
    border-color: rgba(210, 173, 88, 0.2) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22) !important;
}

body.dark-theme .btn-outline-secondary,
body.dark-theme .btn-outline-primary,
body.dark-theme .btn-outline-success,
body.dark-theme .btn-outline-info,
body.dark-theme .btn-outline-warning,
body.dark-theme .btn-outline-danger,
body.dark-theme .btn-outline-dark {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.dark-theme .table thead th {
    background: rgba(210, 173, 88, 0.18);
    color: #eef3f9;
}

body.dark-theme .table tbody td,
body.dark-theme .table tbody th,
body.dark-theme .table > :not(caption) > * > * {
    background: transparent;
    color: #d8e1ec;
    border-bottom-color: rgba(172, 188, 211, 0.12);
}

body.dark-theme .table tbody tr:hover td,
body.dark-theme .table tbody tr:hover th {
    background: rgba(210, 173, 88, 0.08);
}

body.dark-theme .form-control,
body.dark-theme .form-select,
body.dark-theme .input-group-text {
    background-color: #1a2433;
    color: #edf2f8;
    border-color: rgba(172, 188, 211, 0.2);
}

body.dark-theme .bg-white,
body.dark-theme .bg-light,
body.dark-theme .bg-transparent {
    background-color: #111c2f !important;
    color: #e5eef9 !important;
}

body.dark-theme .card-footer,
body.dark-theme .list-group-item,
body.dark-theme .breadcrumb,
body.dark-theme .nav-tabs .nav-link,
body.dark-theme .nav-pills .nav-link,
body.dark-theme .accordion-item,
body.dark-theme .accordion-button,
body.dark-theme .toast,
body.dark-theme .badge.bg-light,
body.dark-theme .badge.text-dark {
    background-color: #111c2f !important;
    color: #e5eef9 !important;
    border-color: rgba(172, 188, 211, 0.18) !important;
}

body.dark-theme .breadcrumb-item + .breadcrumb-item::before,
body.dark-theme .nav-tabs .nav-link,
body.dark-theme .nav-pills .nav-link,
body.dark-theme .accordion-button {
    color: #d8e1ec !important;
}

body.dark-theme .nav-tabs {
    border-bottom-color: rgba(172, 188, 211, 0.18);
}

body.dark-theme .nav-tabs .nav-link.active,
body.dark-theme .nav-pills .nav-link.active,
body.dark-theme .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-strong)) !important;
    color: #132033 !important;
    border-color: transparent !important;
}

body.dark-theme .accordion-button::after,
body.dark-theme .btn-close {
    filter: brightness(1.25) invert(1);
}

body.dark-theme .accordion-body,
body.dark-theme .toast-header {
    background: #111c2f !important;
    color: #e5eef9 !important;
}

body.dark-theme .text-dark {
    color: #e5eef9 !important;
}

body.dark-theme .border-light {
    border-color: rgba(172, 188, 211, 0.18) !important;
}

body.dark-theme .dropdown-menu {
    background: #111c2f;
    color: #e5eef9;
    border-color: rgba(172, 188, 211, 0.18);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

body.dark-theme .dropdown-item {
    color: #e5eef9;
}

body.dark-theme .dropdown-item:hover,
body.dark-theme .dropdown-item:focus {
    background: rgba(244, 180, 0, 0.12);
    color: #fff7df;
}

body.dark-theme .alert {
    background: #111c2f;
    color: #e5eef9;
    border-color: rgba(172, 188, 211, 0.18);
}

body.dark-theme .page-link {
    background: #111c2f;
    color: #e5eef9;
    border-color: rgba(172, 188, 211, 0.18);
}

body.dark-theme .page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-strong));
    color: #132033;
    border-color: transparent;
}

body.dark-theme .offcanvas,
body.dark-theme .offcanvas-header,
body.dark-theme .offcanvas-body {
    background: #111c2f;
    color: #e5eef9;
    border-color: rgba(172, 188, 211, 0.18);
}

body.dark-theme .content-list .list-item,
body.dark-theme .list-item {
    background:
        linear-gradient(180deg, rgba(23, 31, 45, 0.99), rgba(18, 25, 37, 0.98)),
        #182131 !important;
    border-color: rgba(210, 173, 88, 0.18) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26) !important;
}

body.dark-theme .meta-item,
body.dark-theme .orders-meta-cell,
body.dark-theme .orders-customer-chip,
body.dark-theme .orders-quick-actions .form-select,
body.dark-theme .orders-quick-actions .form-control {
    background: #162033 !important;
    color: #edf2f8 !important;
    border-color: rgba(172, 188, 211, 0.18) !important;
}

body.dark-theme .orders-order-link:hover,
body.dark-theme .orders-order-link:focus-visible {
    background: rgba(244, 180, 0, 0.08) !important;
    box-shadow: inset 0 0 0 1px rgba(244, 180, 0, 0.18) !important;
}

body.dark-theme .orders-progress span {
    background: rgba(172, 188, 211, 0.18);
}

body.dark-theme .orders-card-details-summary,
body.dark-theme .orders-quick-label-inline,
body.dark-theme .orders-quick-feedback {
    color: #c9d4e1 !important;
}

body.dark-theme .orders-status-chips .badge {
    border: 1px solid rgba(255, 255, 255, 0.08);
}
