

/* Styles pour l'interface à onglets */

.tab-container-sales {
    margin-bottom: 5px;
    margin-top: 5px;
    width: 100%;

}

.tab-header-sales {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    margin-bottom: 7px;
    width: calc(100% - 2px);
}

.tab-link-sales {
    align-items: center;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    flex: 1;
    font-size: 14px;
    font-weight: normal;
    justify-content: center;
    margin: 3px;
    outline: none;
    padding: 14px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.tab-link-sales:hover {
    background-color: #e0e0e0 !important;
    color: black !important;
}

/* Couleurs spécifiques pour chaque onglet actif */

.tab-link-sales[data-tab].active {
    font-weight: bold;
}

.tab-link-sales[data-tab="tab-simulations"].active {
    background-color: rgba(254, 214, 63, 0.87) !important; 

/* Jaune pour Offre */

    color: black;
}

.tab-link-sales[data-tab="tab-en-attente"].active {
    background-color: rgba(144, 202, 249, 0.73) !important; 

/* Bleu clair pour En attente */

    color: black;
}

.tab-link-sales[data-tab="tab-uncompleted"].active {
    background-color: rgba(255, 183, 77, 0.78) !important; 

/* Orange clair pour À compléter */

    color: black;
}

.tab-link-sales[data-tab="tab-unverified"].active {
    background-color: rgba(239, 83, 80, 0.58) !important; 

/* Rouge pour En attente de contrôle */

    color: white;
}

.tab-link-sales[data-tab="tab-verified"].active {
    background-color: rgba(102, 187, 106, 0.83) !important; 

/* Vert pour Validés */

    color: white;
}

.tab-link-sales[data-tab="tab-search-results"].active {
    background-color: rgba(103, 58, 183, 0.62) !important;
    color: white;
}

/* Spécifique pour les onglets avec texte blanc */

.tab-link-sales[data-tab="tab-unverified"].active i,
.tab-link-sales[data-tab="tab-verified"].active i,
.tab-link-sales[data-tab="tab-search-results"].active i {
    color: white !important;
}

.tab-content-sales table {
    width: 100%;

}

.badge-sales {
    background-color: white;
    border-radius: 5px;
    color: #333333;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
    padding: 2px 12px;
    transition: all 0.3s ease;
}

.tab-link-sales.active .badge-sales {
    background-color: white;
    color: #333333;

}

.tab-link-sales i {
    margin-right: 5px;
    transition: all 0.3s ease;
}

.tab-link-sales[data-tab="tab-simulations"] *:before {
    color: #0f120f !important; 

/* Jaune pour Offre */

}

.tab-link-sales[data-tab="tab-en-attente"] *:before {
    color: #008fff; 

/* Bleu clair pour En attente */

}

.tab-link-sales[data-tab="tab-uncompleted"] *:before {
    color: #ff9600; 

/* Orange clair pour À compléter */

}

.tab-link-sales[data-tab="tab-unverified"] *:before {
    color: #ff120f; 

/* Rouge pour En attente de contrôle */

}

.tab-link-sales[data-tab="tab-verified"] *:before {
    color: #11bb1e; 

/* Vert pour Validés */

}

.tab-link-sales[data-tab="tab-search-results"] i {
    color: rgba(103, 58, 183, 0.8); 

/* Violet pour Résultats de recherche */

}

/* Zone de contenu des onglets avec hauteur fixe */

.tab-contents-wrapper {
    min-height: 800px; 

/* Hauteur minimale à ajuster selon vos besoins */

    overflow-x: hidden;
    overflow-y: auto; 

/* Permet le défilement vertical si le contenu est trop grand */

    position: relative;
    width: 100%;
}

/* Style pour chaque contenu d'onglet */

.tab-content-sales {
    left: 0;
    opacity: 0;
    padding-bottom: 20px; 

/* Espace en bas pour éviter la coupure du contenu */

    pointer-events: none;
    position: absolute;
    top: 0;
    transition: opacity 0.3s ease;
    width: 100%;
}

/* Style pour l'onglet actif */

.tab-content-sales.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 1; 

/* Assure que le contenu actif est au-dessus des autres */

}