/* ============================================
   MonEntrepriseFacile - Luxury Navy & Gold Theme
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600&family=Montserrat:wght@300;400;500;600&display=swap');

/* CSS Variables */
:root {
    /* Primary Colors - Deep Navy */
    --navy-darkest: #0a0f1a;
    --navy-darker: #0d1526;
    --navy-dark: #111d35;
    --navy-primary: #1a2744;
    --navy-light: #243552;
    --navy-lighter: #2e4366;
    
    /* Accent Colors - Gold */
    --gold-dark: #8b7335;
    --gold-primary: #c9a962;
    --gold-light: #d4b978;
    --gold-lighter: #e5d4a1;
    --gold-pale: #f5ecd4;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-light: #e9ecef;
    --gray: #6c757d;
    --gray-dark: #343a40;
    
    /* Status Colors */
    --success: #2d6a4f;
    --warning: #b8860b;
    --danger: #8b0000;
    --info: #1e4d6b;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-elegant: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 4px 20px rgba(201, 169, 98, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-elegant: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--white);
    background: var(--navy-darkest);
    /*min-height: 100vh;*/
    overflow-x: hidden;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(201, 169, 98, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(201, 169, 98, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, var(--navy-lighter) 0%, var(--navy-light) 50%, var(--navy-dark) 100%);
    z-index: -1;
}

/* Subtle Grid Pattern */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(201, 169, 98, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 169, 98, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.icon-svg-color {
    filter: invert(99%) sepia(38%) saturate(2743%) hue-rotate(313deg) brightness(83%) contrast(87%) !important;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.text-primary {
    color: var(--gold-primary) !important;
}

.text-secondary {
    color: var(--gold-light) !important;
}

.text-dark {
    color: var(--navy-darkest) !important;
}

.text-elegant {
    font-family: var(--font-elegant);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.text-display {
    font-family: var(--font-display);
    font-weight: 500;
}

/* Gold Gradient Text */
.text-primary-gradient {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   General Utilities
   ============================================ */

.overflow-hidden {
    overflow: hidden;
}

/* ============================================
   Buttons
   ============================================ */

.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    border: none;
    color: var(--navy-darkest);
    font-family: var(--font-body);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-slow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 169, 98, 0.4);
    color: var(--white);
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:active {
    transform: translateY(0);
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    font-family: var(--font-body);
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    letter-spacing: 0.05em;
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: var(--navy-darkest);
    box-shadow: var(--shadow-gold);
}

.btn-navy {
    background: var(--navy-primary);
    border: 1px solid var(--navy-lighter);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-navy:hover {
    background: var(--navy-light);
    border-color: var(--gold-primary);
}

/* ============================================
   Cards
   ============================================ */

.card-luxury {
    background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-darker) 100%);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.card-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.card-luxury:hover {
    border-color: rgba(201, 169, 98, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

/* ============================================
   Forms
   ============================================ */

.form-control-luxury {
    background: rgba(26, 39, 68, 0.8);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: var(--radius-md);
    color: var(--white);
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-base);
    width: 100%;
}

.form-control-luxury::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control-luxury:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.2);
    background: rgba(26, 39, 68, 1);
}

.form-label-luxury {
    font-family: var(--font-elegant);
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: var(--space-sm);
    display: block;
    letter-spacing: 0.02em;
}

textarea.form-control-luxury {
    min-height: 120px;
    resize: vertical;
}

select.form-control-luxury {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c9a962' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ============================================
   Navigation
   ============================================ */

.navbar-luxury {
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand-luxury {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.navbar-brand-luxury img {
    height: 40px;
    width: auto;
}

.navbar-brand-luxury span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.nav-link-luxury {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    transition: var(--transition-base);
    position: relative;
}

.nav-link-luxury::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.nav-link-luxury:hover {
    color: var(--gold-primary);
}

.nav-link-luxury:hover::after {
    width: 100%;
}

/* ============================================
   Sidebar
   ============================================ */

.sidebar-luxury {
    background: linear-gradient(180deg, var(--navy-darker) 0%, var(--navy-darkest) 100%);
    border-right: 1px solid rgba(201, 169, 98, 0.2);
    width: 280px;
    min-height: calc(100vh - 70px);
    position: fixed;
    top: 70px;
    left: 0;
    padding: var(--space-lg) 0;
    transition: var(--transition-elegant);
    z-index: 100;
    overflow-y: auto;
}

.sidebar-luxury.collapsed {
    width: 80px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu-item {
    margin-bottom: var(--space-xs);
}

.sidebar-menu-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-base);
    border-left: 3px solid transparent;
    cursor: hand;
}

.sidebar-menu-link:hover {
    background: rgba(201, 169, 98, 0.1);
    color: var(--gold-light);
    border-left-color: var(--gold-primary);
}

.sidebar-menu-link.active {
    background: rgba(201, 169, 98, 0.15);
    color: var(--gold-primary);
    border-left-color: var(--gold-primary);
}

.sidebar-menu-link i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

/* Chevron pour les items avec sous-menu */
.sidebar-menu-link .menu-chevron {
    margin-left: auto;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.sidebar-menu-item.open > .sidebar-menu-link .menu-chevron {
    transform: rotate(90deg);
}

/* Sous-menu */
.sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.15);
}

.sidebar-menu-item.open > .sidebar-submenu {
    max-height: 500px;
}

.sidebar-submenu-item {
    margin: 0;
}

.sidebar-submenu-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem 0.75rem 3.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    transition: var(--transition-base);
    border-left: 3px solid transparent;
}

.sidebar-submenu-link:hover {
    background: rgba(201, 169, 98, 0.08);
    color: var(--gold-light);
    border-left-color: rgba(201, 169, 98, 0.5);
}

.sidebar-submenu-link.active {
    color: var(--gold-primary);
    background: rgba(201, 169, 98, 0.1);
    border-left-color: var(--gold-primary);
}

.sidebar-submenu-link i {
    width: 16px;
    text-align: center;
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Séparateur optionnel */
.sidebar-divider {
    height: 1px;
    background: rgba(201, 169, 98, 0.15);
    margin: var(--space-md) var(--space-lg);
}

/* ============================================
   Tooltips
   ============================================ */

.tooltip-navy-gold .tooltip-inner {
    background-color: var(--navy-darker) !important;
    border: 1px solid var(--gold-primary) !important;
    color: #ffffff;
}

.tooltip-navy-gold .tooltip-arrow::before {
    border-bottom-color: var(--gold-primary) !important;
}

.tooltip.tooltip-navy-gold.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--gold-primary) !important;
}

.tooltip.tooltip-navy-gold.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--gold-primary) !important;
}

.tooltip.tooltip-navy-gold.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--gold-primary) !important;
}

.tooltip.tooltip-navy-gold.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--gold-primary) !important;
}

/* ============================================
   Modal
   ============================================ */

.modal {
    height: auto !important;
}

.modal-body ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.modal-body ::-webkit-scrollbar-track {
    background: var(--navy-darker);
}

.modal-body ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-dark), var(--gold-primary));
    border-radius: 4px;
}

.modal-body ::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

.modal-luxury .modal-content {
    background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-darker) 100%);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.modal-luxury .modal-header {
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
    padding: 1.5rem;
}

.modal-luxury .modal-title {
    font-family: var(--font-display);
    color: var(--gold-primary);
}

.modal-luxury .modal-body {
    padding: 1.5rem;
}

.modal-luxury .modal-footer {
    border-top: 1px solid rgba(201, 169, 98, 0.2);
    padding: 1rem 1.5rem;
}

.modal-luxury .btn-close {
    filter: invert(1) brightness(0.8);
}

.modal-custom {
    background: rgba(13, 27, 42, 0.95);
    border-radius: 12px;
    margin: 0 auto;
    padding: 1.5rem;
    color: white;
}

.modal-custom .modal-header {
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
    padding-bottom: 1rem;
}

.modal-custom .modal-title {
    color: var(--gold-primary);
}

.modal-custom .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.modal-custom .modal-body h6 {
    color: var(--gold-primary);
    margin-top: 1.5rem;
}

.modal-custom .modal-body ul {
    padding-left: 1.5rem;
}

.modal-custom .modal-body li {
    margin-bottom: 0.5rem;
}

.modal-details-custom {
    background: rgba(13, 27, 42, 0.95);
    border-radius: 12px;
    margin: 0 auto;
    padding: 1.5rem;
    color: white;
}

.modal-details-custom .modal-header {
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
    padding-bottom: 1rem;
}

.modal-details-custom .modal-title {
    color: var(--gold-primary);
}

.modal-details-custom .tab-content {
    max-height: 70vh;
    overflow-y: auto;
}

.modal-details-custom .modal-body h6 {
    color: var(--gold-primary);
    margin-top: 1.5rem;
}

.modal-details-custom .modal-body ul {
    padding-left: 1.5rem;
}

.modal-details-custom .modal-body li {
    margin-bottom: 0.5rem;
}

#detailsStatutModal .nav-tabs {
    border-bottom: 2px solid var(--gold-primary) !important;
}

#detailsStatutModal .nav-link {
    color: rgba(255, 255, 255, 0.7);
    border: none;
    margin-right: 5px;
    padding: 0.5rem 1rem;
    transition: all 0.2s;
}

#detailsStatutModal .nav-link.active {
    color: var(--gold-primary) !important;
    border-bottom-color: var(--gold-primary) !important;
    font-weight: 500;
}

#detailsStatutModal .tab-content {
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 0 0 12px 12px;
}

#detailsStatutModal ul {
    padding-left: 1.5rem;
}

#detailsStatutModal li {
    margin-bottom: 0;
}

.modal-body-scrollable {
    max-height: 70vh;
    overflow-y: auto;
}

/* ============================================
   Tables
   ============================================ */

.table-luxury {
    width: 100%;
    border-collapse: collapse;
}

.table-luxury thead th {
    background: rgba(201, 169, 98, 0.1);
    color: var(--gold-primary);
    font-family: var(--font-elegant);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid rgba(201, 169, 98, 0.3);
}

.table-luxury tbody td {
    padding: 1rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(201, 169, 98, 0.1);
    vertical-align: middle;
}

.table-luxury tbody tr {
    transition: var(--transition-base);
}

.table-luxury tbody tr:hover {
    background: rgba(201, 169, 98, 0.05);
}

/* ============================================
   Progress Bar
   ============================================ */

.progress-luxury {
    background: rgba(26, 39, 68, 0.8);
    border-radius: var(--radius-xl);
    height: 8px;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 98, 0.2);
}

.progress-bar-luxury {
    background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold-primary) 50%, var(--gold-light) 100%);
    height: 100%;
    border-radius: var(--radius-xl);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-bar-luxury::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes goldGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(201, 169, 98, 0.3); }
    50% { box-shadow: 0 0 40px rgba(201, 169, 98, 0.5); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Initially Hidden for Animation */
.animate-on-scroll {
    opacity: 0;
}

/* ============================================
   Utilities
   ============================================ */

.bg-navy-darker { background-color: var(--navy-darker); }
.bg-navy-dark { background-color: var(--navy-dark); }
.bg-navy-primary { background-color: var(--navy-primary); }

.border-gold { border-color: var(--gold-primary) !important; }
.border-gold-light { border-color: rgba(201, 169, 98, 0.3) !important; }

.text-muted-luxury { color: rgba(255, 255, 255, 0.6); }

.text-align-center { text-align: center !important; }
.text-align-right { text-align: right !important; }
.text-align-left { text-align: left !important; }

.gold-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    border: none;
    margin: var(--space-xl) 0;
}

.gold-accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    margin-bottom: var(--space-md);
}

.display-none {
    display: none !important;
}

.display-inline {
    display: inline !important;
}

.display-inline-block {
    display: inline-block !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

/* ============================================
   Scrollbar
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-dark), var(--gold-primary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 991.98px) {
    .sidebar-luxury {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .sidebar-luxury.show {
        transform: translateX(0);
    }
    
    .main-content-with-sidebar {
        margin-left: 0 !important;
    }
}

@media (max-width: 767.98px) {
    :root {
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
    }
    
    .card-luxury {
        padding: var(--space-lg);
    }
    
    .btn-gold {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand-luxury span {
        font-size: 1.2rem;
    }
}

/* ============================================
   Loading Spinner
   ============================================ */

.spinner-luxury {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(201, 169, 98, 0.2);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Toast Notifications & Swal
   ============================================ */

.toast-luxury {
    background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-darker) 100%);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: var(--radius-md);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.toast-luxury .toast-header {
    background: transparent;
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
    color: var(--gold-primary);
}

.swal-custom-border {
    border: 2px solid var(--gold-primary) !important;
    border-radius: var(--radius-md) !important;
}

/* ============================================
   Badges
   ============================================ */

.badge-gold {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--navy-darkest);
    font-weight: 600;
    padding: 0.35em 0.75em;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-navy {
    background: var(--navy-primary);
    color: var(--white);
    border: 1px solid rgba(201, 169, 98, 0.3);
    padding: 0.35em 0.75em;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

/* ============================================
   Stats Cards
   ============================================ */

.stat-card {
    background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-darker) 100%);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition-base);
}

.stat-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-family: var(--font-elegant);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
