/* Fonts */
body{
    background-color: #F4F2EF;
}

label, p, h1, h2 {
    font-family: Lato;
}

h3 {
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
}

h4 {
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
}

label {
    font-weight: 600;
    margin-top: 16px;
}

.petit{
    font-family: Lato;
    font-size: 14px;
    line-height: 21px;
    color:#2D8630;
}

.w-400 {
    font-weight: 400;
}

.w-600 {
    font-weight: 600;
}

.text-vertf{
    font-family: Lato;
    font-size: 16px;
    font-weight: 600;
    line-height: 19.2px;
    color:#084D0B;
}

/* Login */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: url('../img/silots.jpeg') no-repeat center center/cover;
}

/* Formulaire */
.login-form {
    background: white;
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
}

.logo-left, .logo-right {
    max-height: 50px;
}

.logo-left {
    margin-right: auto;
}

.logo-right {
    margin-left: auto;
}

/* Boutons */
.btn-vert {
    background-color: #2D8630;
    border:none;
    font-family: Lato;
    color: white;
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-grey {
    background-color: #5C636A;
    border:none;
    font-family: Lato;
    color: white;
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
}

.icon-btn{
    margin-left: 14px;
}

.icon-btn-small{
    margin-left: 4px;
}

.icon-btn-left{
    margin-right: 14px;
}

.icon-btn-left-small{
    margin-right: 4px;
    max-width: 10px;
}

.bouton-action  {
    padding: 5px 5px;
    border-radius: 4px;
    border: 1px solid grey;
    margin-right: 5px;
    white-space: nowrap;
}
.bouton-action.bleu {
    background-color: #006EDB22;;
    border-color: #006EDB;
} 
.bouton-action.vert {
    background-color: #2D863022;
    border-color: #2D8630;
} 
.bouton-action.rouge {
    background-color: #EA543422;
    border-color: #EA5434;
} 
.boutons-actions {
    white-space: nowrap;
}

.logout{
    max-width: 25px;
}

/* administration */

/* Conteneur principal */
.tabs-container {
    /*background-color: #f8f9fa; /* Couleur de fond */
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 0;
    padding-left: 0;
    border-bottom: 1px solid #ddd;
}

/* Liste des onglets */
.tabs {
    list-style: none;
    display: flex;
    justify-content: flex-start; /* Alignement à gauche */
    gap: 20px; /* Espacement entre les onglets */
    margin: 0;
    padding: 0;
}

/* Élément d'onglet */
.tab-item {
    position: relative;
}

/* Style des liens inactifs */
.inactive-tab {
    text-decoration: none;
    font-weight: 500;
    color: #1C541F; /* Texte vert foncé */
    padding: 10px 15px;
    transition: all 0.3s ease;

    font-family: Lato;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
}

/* Style des liens actifs */
.active-tab {
    font-family: Lato;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;


    color: #2D8630; /* Texte vert clair */
    background-color: #ffffff; /* Fond blanc pour onglet actif */
    padding: 21px 24px;
    border-radius: 8px 8px 0 0; /* Coins arrondis pour onglet actif */
    border-bottom: 3px solid #2D8630; /* Barre verte sous l'onglet actif */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Ombre légère */
    text-decoration: none;
}

/* Interaction au survol pour onglets inactifs */
.inactive-tab:hover {
    color: #2D8630; /* Texte vert plus foncé au survol */
}

/* users */
thead th {
    background-color: #CFCBC6 !important; /* Couleur de fond */
    color: #2F2F2F !important; /* Couleur du texte (modifiable si besoin) */
    padding: 20px; /* Espacement intérieur */
    text-align: left; /* Alignement du texte */

    font-family: Lato;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;

}

table th:first-child {
    border-top-left-radius: 16px; /* Rayon pour le coin supérieur gauche */
}

/* Arrondir les coins du dernier en-tête */
table th:last-child {
    border-top-right-radius: 16px; /* Rayon pour le coin supérieur droit */
}

table td {
    background-color: #ffffff !important;
    --bs-table-bg-type: #ffffff !important;
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
}

.lien-liste{
    font-family: Lato;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
}

.vert {
    color:#2D8630;
}

.rouge {
    color: #EA5434;
}

.bleu {
    color:#006EDB;
}

.gap-16{
    gap:16px;
}

/* autodiag */

.soustitre-gauche {
    font-family: Lato;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    color:#8A8A8A;
    text-transform: uppercase;
}

.case-blanche{
    background-color: #FFFFFF;
    padding: 16px;
    border-radius: 8px;
}

.case{
    padding: 16px;
}

.nbip{
    font-family: Montserrat;
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    color: #2F2F2F;
}

.titre-section{
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    color: #2F2F2F;
}

.accordion-item {
    border: none;
}

.accordion-button {
    text-align: left;
    padding-left: 3rem; /* Ajuste cet espace si nécessaire */
}

.accordion-button::after {
    position: absolute;
    left: 1rem; /* Déplace la flèche à gauche */
    right: auto;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232D8630'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.accordion-button:not(.collapsed) {
    color: #2F2F2F;
    background-color: #FFFFFF;
    box-shadow: none;
}

.input-group-text {
    color: #8A8A8A;
    background: none;
}

.champ-unite{
    border-right: none !important;
}

.champ-calcule:disabled, .champ-calcule, .champ-calcule:focus {
    background-color: #ffffff;
    opacity: 1;
    border: none;
    box-shadow: none;
}

.lien-souligne-vert{
    font-family: Lato;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    color:#2D8630;
}

.petit-logo{
    max-height: 20px;
}

.annuler{
    font-family: Lato;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color:#2D8630;
    background: none;
    border: none;
}

.alert-danger {
    background-color: #FDEDED;
    border-color: #BB141F;
    color:#BB141F;
    font-family: Arial;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.accordeonSuivant{
    margin-top: 24px;
}

.accordion-item, .accordion-button, .accordion-header {
    border-radius: 8px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #2D8630;
    color: white;

}

.select2-container--default .select2-selection--single {
    height: 32px;
}

.table-bordered{
    border-color: #ffffff;
}

.case-graphe{
    padding: 10px;
    background-color: #ffffff;
}

.nb-petit{
    font-size: 14px;
}

button:disabled,
button[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}

.page-link, .page-item {
    color:#000000;
}

.active>.page-link, .page-link.active {
    background-color: #000000;
    border-color: #000000;
}

/* oad */
.liste-oads a {
    border: 1px solid #084D0B;
    border-radius: 15px;
    background-color: #fff;
    padding: 10px;
    margin: 10px;
}
.liste-oads a:hover {
    background-color: #084D0B;
    color: #ffffff;
}