/**
 * LUXURY THEME - CBT EXAM SYSTEM
 * Premium Dark/Gold Design Theme
 * Author: CBT Development Team
 */

/* ========================================
   CSS CUSTOM PROPERTIES - DESIGN TOKENS
   ======================================== */

:root {
    /* Primary Colors - Luxury Gold */
    --gold-primary: #D4AF37;
    --gold-light: #F4E4BA;
    --gold-dark: #B8960C;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F4E4BA 50%, #D4AF37 100%);
    
    /* Secondary Colors - Dark Premium */
    --dark-primary: #0a0a14;
    --dark-secondary: #12121f;
    --dark-tertiary: #1a1a2e;
    --dark-card: #16162a;
    --dark-sidebar: #0f0f1a;
    
    /* Accent Colors */
    --accent-red: #E94560;
    --accent-green: #00D9A5;
    --accent-blue: #4A90E2;
    --accent-purple: #9B59B6;
    --accent-orange: #F39C12;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #E8E8E8;
    --silver: #B8B8B8;
    --gray: #6B6B6B;
    --dark-gray: #2D2D2D;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8B8;
    --text-muted: #6B6B6B;
    --text-gold: #D4AF37;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Fonts */
    --font-primary: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    --font-display: 'Georgia', 'Times New Roman', serif;
}

/* ========================================
   BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--dark-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Selection */
::selection {
    background: var(--gold-primary);
    color: var(--dark-primary);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    color: var(--gold-primary);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ========================================
   BACKGROUND PATTERNS
   ======================================== */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark-primary) 0%, var(--dark-secondary) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Grid Pattern Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

/* Primary Button - Gold */
.btn-primary {
    background: var(--gold-gradient);
    color: var(--dark-primary);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
    color: var(--dark-primary);
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--dark-primary);
    transform: translateY(-2px);
}

/* Dark Button */
.btn-dark {
    background: var(--dark-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--dark-gray);
}

.btn-dark:hover {
    background: var(--dark-card);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, #00D9A5 0%, #00B894 100%);
    color: var(--white);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 165, 0.4);
}

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, #E94560 0%, #C0392B 100%);
    color: var(--white);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

/* ========================================
   FORMS
   ======================================== */

.form-control {
    background: var(--dark-card);
    border: 2px solid var(--dark-gray);
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    background: var(--dark-tertiary);
    border-color: var(--gold-primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Form Labels */
.form-label {
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Select Dropdown */
.form-select {
    background: var(--dark-card);
    border: 2px solid var(--dark-gray);
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.form-select:focus {
    background: var(--dark-tertiary);
    border-color: var(--gold-primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    outline: none;
}

.form-select option {
    background: var(--dark-card);
    color: var(--text-primary);
}

/* Input Groups */
.input-group {
    position: relative;
}

.input-group-text {
    background: var(--dark-tertiary);
    border: 2px solid var(--dark-gray);
    border-right: none;
    color: var(--gold-primary);
    padding: 14px 18px;
}

.input-group .form-control {
    border-left: none;
}

/* ========================================
   CARDS
   ======================================== */

.card {
    background: var(--dark-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-header {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-secondary) 100%);
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    padding: 20px 24px;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.card-body {
    padding: 24px;
}

.card-footer {
    background: var(--dark-tertiary);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 16px 24px;
}

/* Glassmorphism Card */
.card-glass {
    background: rgba(22, 22, 42, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-glass:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ========================================
   STAT CARDS
   ======================================== */

.stat-card {
    background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-tertiary) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-gradient);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    background: var(--gold-gradient);
    color: var(--dark-primary);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ========================================
   SIDEBAR
   ======================================== */

.sidebar {
    background: var(--dark-sidebar);
    min-height: 100vh;
    border-right: 1px solid rgba(212, 175, 55, 0.1);
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    z-index: 1000;
    transition: var(--transition-normal);
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    padding: 16px 0;
}

.nav-item {
    padding: 14px 24px;
    color: var(--text-secondary);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    border-left-color: var(--gold-primary);
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* ========================================
   TABLES
   ======================================== */

.table {
    color: var(--text-secondary);
    border-color: rgba(212, 175, 55, 0.1);
}

.table thead th {
    background: var(--dark-tertiary);
    color: var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    padding: 16px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table tbody tr {
    background: var(--dark-card);
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background: var(--dark-tertiary);
}

.table tbody td {
    padding: 14px 16px;
    border-color: rgba(212, 175, 55, 0.1);
    vertical-align: middle;
}

/* Table Striped */
.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(26, 26, 46, 0.5);
}

/* ========================================
   ALERTS
   ======================================== */

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, rgba(0, 217, 165, 0.2) 0%, rgba(0, 184, 148, 0.2) 100%);
    color: #00D9A5;
    border-left: 4px solid #00D9A5;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.2) 0%, rgba(192, 57, 43, 0.2) 100%);
    color: #E94560;
    border-left: 4px solid #E94560;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2) 0%, rgba(230, 126, 34, 0.2) 100%);
    color: #F39C12;
    border-left: 4px solid #F39C12;
}

.alert-info {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(52, 152, 219, 0.2) 100%);
    color: #4A90E2;
    border-left: 4px solid #4A90E2;
}

/* ========================================
   MODALS
   ======================================== */

.modal-content {
    background: var(--dark-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--dark-tertiary);
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    padding: 20px 24px;
    color: var(--gold-primary);
}

.modal-title {
    font-weight: 600;
    color: var(--gold-primary);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    background: var(--dark-tertiary);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 16px 24px;
}

.btn-close {
    filter: invert(1);
    opacity: 0.6;
}

.btn-close:hover {
    opacity: 1;
}

/* ========================================
   BADGES
   ======================================== */

.badge {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: var(--gold-gradient);
    color: var(--dark-primary);
}

.badge-success {
    background: linear-gradient(135deg, #00D9A5 0%, #00B894 100%);
    color: var(--white);
}

.badge-danger {
    background: linear-gradient(135deg, #E94560 0%, #C0392B 100%);
    color: var(--white);
}

.badge-warning {
    background: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
    color: var(--white);
}

.badge-info {
    background: linear-gradient(135deg, #4A90E2 0%, #3498DB 100%);
    color: var(--white);
}

/* ========================================
   PROGRESS BARS
   ======================================== */

.progress {
    background: var(--dark-tertiary);
    border-radius: var(--radius-md);
    height: 10px;
    overflow: hidden;
}

.progress-bar {
    background: var(--gold-gradient);
    transition: var(--transition-normal);
}

/* ========================================
   LOGIN PAGE STYLES
   ======================================== */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.login-card {
    background: var(--dark-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-xl);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-title {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Login Input with Icon */
.input-icon-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-icon-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    font-size: 1.1rem;
}

.input-icon-wrapper .form-control {
    padding-left: 48px;
}

.input-icon-wrapper .toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.input-icon-wrapper .toggle-password:hover {
    color: var(--gold-primary);
}

/* Login Remember */
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    accent-color: var(--gold-primary);
}

.form-check-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Login Button Full Width */
.btn-login {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
}

/* Login Footer Links */
.login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.login-footer a {
    color: var(--gold-primary);
    font-weight: 500;
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Pulse */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Shine */
@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Float */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   LOADING STATES
   ======================================== */

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--dark-tertiary);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Text Colors */
.text-gold {
    color: var(--gold-primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Background Colors */
.bg-dark-card {
    background: var(--dark-card) !important;
}

.bg-dark-tertiary {
    background: var(--dark-tertiary) !important;
}

/* Border */
.border-gold {
    border-color: var(--gold-primary) !important;
}

/* Shadows */
.shadow-gold {
    box-shadow: var(--shadow-gold) !important;
}

/* Spacing */
.mb-0 {
    margin-bottom: 0 !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

/* Display */
.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-center {
    justify-content: center !important;
}

/* Text Center */
.text-center {
    text-align: center !important;
}

/* Width */
.w-100 {
    width: 100% !important;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: fixed;
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .login-card {
        padding: 32px 24px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 24px 20px;
    }
    
    .card-body {
        padding: 16px;
    }
    
    .table {
        font-size: 0.875rem;
    }
}

/* ========================================
   MAIN CONTENT AREA
   ======================================== */

.main-content {
    margin-left: 260px;
    min-height: 100vh;
    padding: 24px;
    background: transparent;
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        padding: 16px;
    }
}

/* Page Header */
.page-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 8px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========================================
   DASHBOARD GRID
   ======================================== */

.dashboard-grid {
    display: grid;
    gap: 24px;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ICONS
   ======================================== */

.fa-gold {
    color: var(--gold-primary);
}

.fa-white {
    color: var(--white);
}

/* Icon Box */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.icon-box.gold {
    background: var(--gold-gradient);
    color: var(--dark-primary);
}

.icon-box.red {
    background: linear-gradient(135deg, #E94560 0%, #C0392B 100%);
    color: var(--white);
}

.icon-box.green {
    background: linear-gradient(135deg, #00D9A5 0%, #00B894 100%);
    color: var(--white);
}

.icon-box.blue {
    background: linear-gradient(135deg, #4A90E2 0%, #3498DB 100%);
    color: var(--white);
}

/* ========================================
   DROPDOWN MENU
   ======================================== */

.dropdown-menu {
    background: var(--dark-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
}

.dropdown-divider {
    border-color: rgba(212, 175, 55, 0.1);
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination {
    gap: 8px;
}

.page-link {
    background: var(--dark-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.page-link:hover {
    background: var(--dark-tertiary);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.page-item.active .page-link {
    background: var(--gold-gradient);
    border-color: var(--gold-primary);
    color: var(--dark-primary);
}

.page-item.disabled .page-link {
    background: var(--dark-tertiary);
    border-color: rgba(212, 175, 55, 0.1);
    color: var(--text-muted);
}

/* ========================================
   TABS
   ======================================== */

.nav-tabs {
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    gap: 8px;
}

.nav-tabs .nav-link {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 12px 20px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transition: var(--transition-fast);
    position: relative;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    transition: var(--transition-fast);
}

.nav-tabs .nav-link:hover {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

.nav-tabs .nav-link.active {
    background: var(--dark-card);
    color: var(--gold-primary);
    border: none;
}

.nav-tabs .nav-link.active::after {
    background: var(--gold-primary);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--dark-sidebar);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: auto;
}

/* ========================================
   END OF LUXURY THEME
   ======================================== */
