/* Style pour les boutons généraux */
.header_buton {
    border-color: #fff !important;
    background-color: #ffa500;
    border: gray;
    margin-left: 0.5%;
    margin-right: 0.5%;
    width: 230px;
    border-radius: 3px;
    text-align: center;
}

.header_buton_desable {
    border-color: #fff !important;
    background-color: gray;
    margin-left: 0.5%;
    margin-right: 0.5%;
    width: 230px;
    border-radius: 3px;
    text-align: center;
}

.header_buton_desable:hover {
    background-color: #ffa500;
}

.header_buton_desable:active {
    background-color: #ffa500;
    width: 250px;
}

.header_buton_des {
    border-color: #fff !important;
    background-color: rgb(182, 182, 182);
    margin-left: 0.5%;
    margin-right: 0.5%;
    width: 250px;
    border-radius: 3px;
    text-align: center;
}

.dashboard_buton {
    color: #fff !important;
    background-color: #ffa500;
}

.dashboard_buton:hover {
    background-color: #ffa500 !important;
}

.header_buton_des:active {
    background-color: #F5F5DC;
}

/* Navigation */
.navbar-nav {
    margin: 0;
    padding: 0;
}

/* Menu déroulant spécifique à dropdownUnique */
#dropdownUnique .dropdown-item {
    font-size: 10px !important;
    padding: 10px 15px !important;
    color: #333;
    white-space: normal;
    /*word-wrap: break-word;
    word-break: break-word;*/
}

#dropdownUnique .dropdown-item:hover {
    background-color: #f0f0f0;
    color: #000;
}

#dropdownUnique #dropdownMenuButton {
    display: block;
    white-space: normal !important;
    word-wrap: break-word;
    word-break: break-word;
    width: auto !important;
    padding: 10px 15px;
    background-color: #ffa500;
    border-color: #ffa500;
    color: #fff;
    font-size: 14px;
    text-align: left;
}

#dropdownUnique #dropdownMenuButton:hover {
    background-color: #f0f0f0;
    color: #000;
}

/* Dropdown button dans le menu */
#dropdownUnique .dropdown .btn-primary {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

#dropdownUnique .dropdown-menu {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    width: auto;
    max-width: 100%;
    text-align: left;

}

/* Styles pour les éléments actifs */
#dropdownUnique .dropdown-item.active {
    background-color: #ff9800 !important;
    color: #fff !important;
}

#dropdownUnique .dropdown-item.active:hover {
    background-color: #ffa500 !important;
}

#dropdownUnique .dropdown-item:active {
    background-color: #F5F5DC;
}

/* Card */
.header_card {
    padding-left: 15px;
    padding-right: auto;
    padding-bottom: auto;
    padding-top: 0px;
}

/* Styles pour l'élément actif des compteurs */
.active-counter {
    background-color: #ff9800 !important;
    color: #fff !important;
}

.active-counter:hover {
    background-color: #ffa500 !important;
    color: #fff !important;
}

/* Table size */
.table_size {
    padding-left: -85px;
}

/* Formulaire de filtre */
.filtre_form {
    margin-top: -1150;
    padding-right: auto;
    padding-bottom: auto;
}

/* Badge de notification */
.notification-badge {
    top: 2px;
    right: 5px;
    padding: 2px 6px;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-radius: 50%;
    font-size: 10px;
    line-height: 1;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: red;
    color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Media queries pour petits écrans */
@media (max-width: 768px) {
    #dropdownUnique .dropdown-menu {
        max-height: 200px;
        overflow-y: auto;
        width: 100%;
    }
}

@media (max-width: 370px) {
    #dropdownUnique .dropdown-toggle {
        font-size: 10px !important;
        padding: 10px 15px !important;
    }

    #dropdownUnique .dropdown-menu {
        font-size: 10px !important;
        padding: 10px 15px !important;
    }
}
