/* ========================= */
/* 🎨 THEME GLOBAL */
/* ========================= */
body {
    font-family: "Inter", "Segoe UI", Roboto, sans-serif;
    font-size: 0.95rem;
}

/* ========================= */
/* 🔵 NAVBAR */
/* ========================= */
.navbar {
    background: linear-gradient(90deg, #1f2937, #111827);
}

.navbar .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ========================= */
/* 🟦 SIDEBAR SAGE CLOUD */
/* ========================= */
aside {
    background-color: #ffffff;
}

aside h6 {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

/* Liens */
aside .nav-link {
    color: #374151;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.15s ease-in-out;
}

/* Hover */
aside .nav-link:hover {
    background-color: #eef2ff;
    color: #1d4ed8;
}

/* Actif (Django ajoute automatiquement .active si tu le veux plus tard) */
aside .nav-link.active {
    background-color: #e0e7ff;
    color: #1e40af;
    font-weight: 600;
}

/* Icônes */
aside .nav-link i {
    font-size: 1.1rem;
}

/* Séparateur */
aside hr {
    margin: 0.75rem 0;
}

/* ========================= */
/* 📄 CONTENU PRINCIPAL */
/* ========================= */
main {
    background-color: #f9fafb;
    min-height: 100vh;
}

/* ========================= */
/* 🟢 CARTES DASHBOARD */
/* ========================= */
.card {
    border-radius: 12px;
    border: none;
}

.card h6 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================= */
/* 📊 GRAPHIQUES */
/* ========================= */
canvas {
    max-height: 300px;
}

/* ========================= */
/* 🟡 BADGES */
/* ========================= */
.badge {
    font-size: 0.7rem;
    padding: 0.4em 0.6em;
}

/* ========================= */
/* 🖼 LOGO */
/* ========================= */
.logo-cmes {
    height: 32px;
}

/* ========================= */
/* 📱 RESPONSIVE */
/* ========================= */
@media (max-width: 768px) {
    aside {
        display: none;
    }
}
.caisse-hover:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,.08);
}
