.btn-classification {
    background: transparent;
    color: #404040 !important;
    border: 2px solid #404040 !important;
    width: 150px;
}

/* pour le theme sapin */
body[data-theme="sapin"] .btn-classification {
    background: transparent;
    color: #65B741 !important;
    border: 2px solid #65B741 !important;
    width: 150px;
}

body[data-theme="sapin"] #affichage_nombre {
    background: #65B741 !important;
    border: 2px solid #65B741 !important;
    color: white !important;
}

body[data-theme="sapin"] .btn-classification:hover {
    background: #65B741 !important;
    border: 2px solid #65B741 !important;
    color: white !important;
}


body[data-theme="sapin"] .btn-classification.active {
    background: #65B741 !important;
    border: 2px solid #65B741 !important;
    color: white !important;
}

/*******Light****/
body[data-theme="light"] .btn-classification {
    background: transparent;
    color: #8174A0 !important;
    border: 2px solid #8174A0 !important;
    width: 150px;
}

body[data-theme="light"] #affichage_nombre {
    background: #8174A0 !important;
    border: 2px solid #8174A0 !important;
    color: white !important;
}

body[data-theme="light"] .btn-classification:hover {
    background: #8174A0 !important;
    border: 2px solid #8174A0 !important;
    color: white !important;
}

body[data-theme="light"] .btn-classification.active {
    background: #8174A0 !important;
    border: 2px solid #8174A0 !important;
    color: white !important;
}


/* discrete */

body[data-theme="discrete"] .btn-classification {
    background: transparent;
    color: #a88532 !important;
    border: 2px solid #a88532 !important;
    width: 150px;
}

body[data-theme="discrete"] #affichage_nombre {
    background: #a88532 !important;
    border: 2px solid #a88532 !important;
    color: white !important;
}

body[data-theme="discrete"] .btn-classification:hover {
    background: #a88532 !important;
    border: 2px solid #a88532 !important;
    color: white !important;
}

body[data-theme="discrete"] .btn-classification.active {
    background: #a88532 !important;
    border: 2px solid #a88532 !important;
    color: white !important;
}

/* anime */
body[data-theme="anime"] .btn-classification {
    background: transparent;
    color: #74512D !important;
    border: 2px solid #74512D !important;
    width: 150px;
}

body[data-theme="anime"] #affichage_nombre {
    background: #74512D !important;
    border: 2px solid #74512D !important;
    color: white !important;
}

body[data-theme="anime"] .btn-classification:hover {
    background: #74512D !important;
    border: 2px solid #74512D !important;
    color: white !important;
}


body[data-theme="anime"] .btn-classification.active {
    background: #74512D !important;
    border: 2px solid #74512D !important;
    color: white !important;
}

/* brun */

body[data-theme="brun"] .btn-classification {
    background: transparent;
    color: #B85C38 !important;
    border: 2px solid #B85C38 !important;
    width: 150px;
}

body[data-theme="brun"] #affichage_nombre {
    background: #B85C38 !important;
    border: 2px solid #B85C38 !important;
    color: white !important;
}

body[data-theme="brun"] .btn-classification:hover {
    background: #B85C38 !important;
    border: 2px solid #B85C38 !important;
    color: white !important;
}

body[data-theme="brun"] .btn-classification.active {
    background: #B85C38 !important;
    border: 2px solid #B85C38 !important;
    color: white !important;
}

/* illimite */
body[data-theme="illimite"] .btn-classification {
    background: transparent;
    color: #248f8f !important;
    border: 2px solid #248f8f !important;
    width: 150px;
}

body[data-theme="illimite"] #affichage_nombre {
    background: #248f8f !important;
    border: 2px solid #248f8f !important;
    color: white !important;
}

body[data-theme="illimite"] .btn-classification:hover {
    background: #248f8f !important;
    border: 2px solid #248f8f !important;
    color: white !important;
}

body[data-theme="illimite"] .btn-classification.active {
    background: #248f8f !important;
    border: 2px solid #248f8f !important;
    color: white !important;
}


/* classic */

body[data-theme="classic"] .btn-classification {
    background: transparent;
    color: #447998 !important;
    border: 2px solid #447998 !important;
    width: 150px;
}

body[data-theme="classic"] #affichage_nombre {
    background: #447998 !important;
    border: 2px solid #447998 !important;
    color: white !important;
    vertical-align: middle;
}

body[data-theme="classic"] .btn-classification:hover {
    background: #447998 !important;
    border: 2px solid #447998 !important;
    color: white !important;
}


body[data-theme="classic"] .btn-classification.active {
    background: #447998 !important;
    border: 2px solid #447998 !important;
    color: white !important;
}

/* dark */

body[data-theme="dark"] .btn-classification {
    background: transparent;
    color: #3B464C !important;
    border: 2px solid #3B464C !important;
    width: 150px;
}

body[data-theme="dark"] #affichage_nombre {
    background: #3B464C !important;
    border: 2px solid #3B464C !important;
    color: white !important;
    vertical-align: middle;
}

body[data-theme="dark"] .btn-classification:hover {
    background: #3B464C !important;
    border: 2px solid #3B464C !important;
    color: white !important;
}


body[data-theme="dark"] .btn-classification.active {
    background: #3B464C !important;
    border: 2px solid #3B464C !important;
    color: white !important;
}


#affichage_nombre {
    border: 1px solid #dee2e6; /* Bordure subtile */
    border-radius: 5px; /* Coins arrondis */
    padding: 10px; /* Espacement intérieur */
    margin-bottom: 20px; /* Marge en bas */
    font-size: 1.1em; /* Taille de police légèrement augmentée */
    font-weight: bold; /* Texte en gras */
    box-shadow: 0 2px 4px rgba(59, 53, 53, 0.1); /* Ombre légère */
}

#affichage_nombre span {
    color: white; /* Couleur bleue pour le nombre */
    font-size: 1.2em; /* Taille de police plus grande pour le nombre */
}



/*Media query*/

/* Écran extra large (≥1200px, desktop) */
@media (min-width: 1200px) {

}

/* Écran large (≥992px, tablette en mode paysage et petit ordinateur) */
@media (max-width: 1199px) {

}

/* Écran moyen (≥768px, tablette) */
@media (max-width: 991px) {

}

/* Écran petit (≥576px, téléphone en mode paysage) */
@media (max-width: 767px) {

}


@media (max-width: 635px) {
    #btn-classification-container{
    display: grid !important;
    grid-template-columns:auto auto auto !important;
    justify-content: space-evenly !important;
    }
}

/* Écran extra petit (<576px, téléphone en mode portrait) */
@media (max-width: 500px) {
    #search-export{
        display:flex;
        flex-direction: column;
        justify-content: flex-start;
        gap:10px;
    }
    #classification-search-form{
        width:100% !important;
    }
    #btn-classification-container{
        display: grid !important;
        grid-template-columns: auto auto!important;
        justify-content: space-evenly !important;
    }

    #btn-exporter {
        justify-content: start !important;
    }

    #search-export {
        flex-direction: column !important;
    }
}
