/* === Sidebar Custom Colors & Styles === */

/* Fond principal du sidebar */
.sidebar,
.bg-gradient-primary,
.bg {
    background-color: #015756 !important;
    background-image: none !important;
}

/* Titres de section dans le sidebar */
.sidebar .sidebar-heading,
.sidebar-heading {
    color: #F79F17 !important;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Liens du sidebar */
.sidebar .nav-link,
.sidebar .collapse-item,
.sidebar .sidebar-brand-text,
.sidebar .sidebar-brand,
.sidebar .sidebar-card,
.sidebar .sidebar-card p,
.sidebar .sidebar-card a,
.sidebar .sidebar-card-illustration {
    color: #fff !important;
}

/* Icônes du sidebar */
.sidebar .nav-link i,
.sidebar .collapse-item i {
    color: #fff !important;
    opacity: 0.95;
}

/* Liens actifs */
.sidebar .nav-item.active > .nav-link,
.sidebar .nav-link.active,
.sidebar .nav-link:focus,
.sidebar .nav-link:hover,
.sidebar .collapse-item:hover,
.sidebar .collapse-item:focus {
    background-color: #F79F17 !important;
    color: #fff !important;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
}

/* Badges */
.sidebar .badge,
.sidebar .badge.bg-info,
.sidebar .badge.bg-warning,
.sidebar .badge-secondary {
    background-color: #F79F17 !important;
    color: #fff !important;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
}

/* Divider */
.sidebar-divider {
    border-top: 1.5px solid #F79F17 !important;
    opacity: 0.7;
}

/* Collapse inner (sous-menus) */
.sidebar .collapse-inner {
    background: #015756 !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(1,87,86,0.08);
}

/* Sidebar brand (logo + titre) */
.sidebar .sidebar-brand {
    background: #015756 !important;
    color: #fff !important;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Avatar et footer */
.sidebar .sidebar-card {
    background: #383838 !important;
    color: #fff !important;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.sidebar .sidebar-card-illustration {
    border: 2px solid #F79F17 !important;
}

/* Bouton site web */
.sidebar .btn-outline-light {
    border-radius: 20px;
    padding: 5px 15px;
    border-color: #F79F17 !important;
    color: #fff !important;
    background: transparent;
    transition: background 0.2s, color 0.2s;
}
.sidebar .btn-outline-light:hover {
    background: #F79F17 !important;
    color: #fff !important;
    border-color: #F79F17 !important;
}

/* Sidebar toggler */
#sidebarToggle {
    background: #F79F17 !important;
    color: #fff !important;
    border-radius: 50%;
    transition: transform 0.3s;
}
#sidebarToggle:hover {
    background: #fff !important;
    color: #F79F17 !important;
    transform: rotate(180deg);
}

/* Scrollbar custom (optionnel) */
.sidebar::-webkit-scrollbar {
    width: 8px;
    background: #015756;
}
.sidebar::-webkit-scrollbar-thumb {
    background: #F79F17;
    border-radius: 8px;
}

/* Pour les tooltips premium */
.sidebar .nav-link.text-muted,
.sidebar .collapse-item.text-muted {
    color: #fff !important;
    opacity: 0.6;
}
.sidebar .nav-link.text-muted:hover,
.sidebar .collapse-item.text-muted:hover {
    opacity: 1;
    background: #F79F17 !important;
    color: #fff !important;
}

/* Animation et hover */
.sidebar .hover-scale:hover,
.sidebar .hover-grow:hover {
    background: #F79F17 !important;
    color: #fff !important;
    border-radius: 5px;
    transform: scale(1.03);
}
.sidebar .hover-item:hover {
    background: #F79F17 !important;
    color: #fff !important;
    transform: translateX(5px);
}

/* Collapse caret */
.sidebar .fa-caret-down {
    color: #F79F17 !important;
}

/* Section title */
.section-title,
.sidebar .sidebar-heading {
    color: #F79F17 !important;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Optionnel : pour les petits textes */
.sidebar .small,
.sidebar .sidebar-brand .small {
    color: #F79F17 !important;
    opacity: 0.85;
}

/* Optionnel : pour les backgrounds alternatifs */
.bg1 {
    background-color: #383838 !important;
    color: #fff !important;
}

/* Optionnel : pour les dropdowns */
.dropdown-item:hover {
    background-color: #F79F15 !important;
    color: #fff !important;
}

/* Optionnel : pour les boutons warning */
.btn-warning {
    background-color: #F79F15 !important;
    color: #fff !important;
}

/* Optionnel : pour les icônes colorées */
.text-red { color: #d9534f !important; }
.text-teal { color: #17a2b8 !important; }
.text-green { color: #28a745 !important; }
.text-orange { color: #fd7e14 !important; }
.text-purple { color: #6f42c1 !important; }
.text-blue { color: #007bff !important; }