:root {
    --gold: #D4AF37;
    --black: #1A1A1A;
    --bg-main: #F4F4F4;
    --sidebar-width: 260px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4 { 
    font-family: 'Inter', sans-serif; 
    font-weight: 700; 
}

/* SIDEBAR */
#sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: var(--black);
    border-right: 1px solid #000;
    color: #FFF;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar-header {
    padding: 30px 20px; 
    text-align: center; 
    border-bottom: 1px solid #333;
}
.sidebar-header h1 {
    margin: 0; 
    font-size: 18px; 
    letter-spacing: 3px; 
    font-weight: 800; 
    color: var(--gold);
}
.sidebar-header p {
    margin: 5px 0 0; 
    font-size: 8px; 
    color: #777; 
    text-transform: uppercase; 
    letter-spacing: 2px;
}

.nav-menu {
    flex: 1; 
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.nav-link-custom {
    display: block;
    padding: 12px 25px;
    color: #BBB;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.2s;
}
.nav-link-custom:hover { 
    color: #FFF; 
    background: rgba(255,255,255,0.05); 
}
.nav-link-custom.active { 
    color: var(--gold); 
    background: rgba(212, 175, 55, 0.1); 
    border-left: 4px solid var(--gold); 
    padding-left: 21px; 
}

.sidebar-footer {
    padding: 20px; 
    border-top: 1px solid #333; 
    font-size: 10px; 
    background: #111;
}

/* TOPBAR */
#main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.topbar {
    height: 65px;
    background: white;
    border-bottom: 1px solid #DDD;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 999;
}
.topbar h2 {
    margin: 0; 
    font-size: 18px; 
    font-weight: 600; 
    color: #333; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.content-area {
    flex: 1;
    padding: 30px;
}

/* GRILLE LUXE 3 COLONNES - COPIE CONFORME */
.grid-luxe-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

@media (max-width: 1100px) {
    .grid-luxe-3 {
        grid-template-columns: 1fr;
    }
}

/* CARDS LUXE */
.card-luxe {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #EEE;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.card-header-luxe {
    padding: 20px 30px;
    border-bottom: 1px solid #EEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    border-radius: 8px 8px 0 0;
}

/* TABLES LUXE */
.table-luxe {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #EEE;
}
.table-luxe th {
    padding: 15px 30px;
    background: rgba(249, 250, 251, 0.3);
    border-bottom: 1px solid #EEE;
    text-align: left;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #9CA3AF;
    font-weight: bold;
}
.table-luxe td {
    padding: 20px 30px;
    border-bottom: 1px solid #F5F5F5;
}
.table-luxe th:last-child, .table-luxe td:last-child {
    text-align: right;
}
.table-luxe tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

/* UTILS */
.text-gold { color: var(--gold) !important; }
.bg-gold-light { background-color: rgba(212, 175, 55, 0.05) !important; }
.text-gray-400 { color: #9CA3AF !important; }
.text-gray-900 { color: #111827 !important; }
.tracking-02em { letter-spacing: 0.2em !important; }
.text-10px { font-size: 10px !important; }
.text-11px { font-size: 11px !important; }

.btn-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 15px;
}

@media (max-width: 992px) {
    #sidebar { margin-left: calc(-1 * var(--sidebar-width)); }
    #sidebar.active { margin-left: 0; }
    #main-content { margin-left: 0; }
    .btn-sidebar-toggle { display: block; }
}

/* BOUTONS LUXE */
.btn-gold {
    background-color: var(--gold) !important;
    border: 1px solid var(--gold) !important;
    color: #FFF !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none !important;
}
.btn-gold:hover, .btn-gold:focus, .btn-gold:active {
    background-color: #B8962E !important;
    border-color: #B8962E !important;
    color: #FFF !important;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3) !important;
}

.fw-black { font-weight: 900 !important; }
.tracking-widest { letter-spacing: 0.1em !important; }
