:root {
    --primary-color: 125, 161, 214;
    --success-color: 28, 167, 69;
    --danger-color: 220, 53, 69;
    --warning-color: 255, 193, 7;
    --info-color: 18, 162, 184;
}

.add-resource-link {
    display: inline-block;
    transition: all 0.2s ease;
}
.add-resource-link:hover {
    transform: scale(1.05);
}
.add-resource-link span {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}
.add-resource-link:hover span {
    background-color: rgba(0, 123, 255, 0.2);
    box-shadow: 0 0 0.5rem rgba(0, 123, 255, 0.25);
}
.add-resource-link i {
    color: #0d6efd;
    font-size: 1.5rem;
}

.alert {
    border-radius: 0.5rem;
    border-left: 4px solid;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.alert-success {
    border-left-color: #28a745;
    background-color: #d4edda;
}
.alert-danger {
    border-left-color: #dc3545;
    background-color: #f8d7da;
}
.alert-heading {
    font-weight: 600;
    color: inherit;
}

.collab-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3em 0.6em;
    border-radius: 0.375rem;
    font-size: 0.85em;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.3rem;
}
.bg-blue-lt {
    background-color: #d1ecf1;
    color: #0c5460;
}

.bg-cyan {
    background-color: #0dcaf0;
    color: #000;
}

.bg-purple {
    background-color: #6f42c1;
    color: #fff;
}
.bg-expiration-soon {
    background-color: #fff3cd;
    color: #856404;
}
.bg-expiration-expired {
    background-color: #f8d7da;
    color: #721c24;
}

.bg-danger-lt {
    background-color: #f8d7da;
    color: #721c24;
}

#alertContainer {
    position: relative;
    z-index: 1;
}

#buttonLoader {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.2em;
}
.workflow-info {
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.25rem;
}

.workflow-info h5 {
    color: #0d6efd;
}
.workflow-info ul {
    padding-left: 1.5rem; /* Assure un retrait pour les puces */
    margin-bottom: 0; /* Optionnel : pour réduire l'espace en bas */
}

.workflow-info li {
    margin-bottom: 0.5rem; /* Espacement entre les éléments de la liste */
}




.bg-expiration-ok {
    background-color: #d4edda;
    color: #155724;
}
.collab-icon {
    margin-right: 0.3rem;
    font-size: 0.9em;
}

/* ========== SELECT2 RESEARCH STRUCTURE STYLES ========== */
/* Réinitialisation complète des styles problématiques */
.select2-results__options,
.select2-results__option,
.select2-results__group {
    all: unset !important;
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
    table-layout: auto !important;
}

/* Réapplication des styles nécessaires */
.select2-container--open .select2-results__options {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Style pour les regroupements (optgroup) */
.select2-results__group {
    display: block !important;
    width: calc(100% - 20px) !important; /* Ajustement pour éviter le débordement */
    margin-left: 10px !important;
    font-weight: bold !important;
    padding: 8px 12px !important;
    background-color: #e7f1ff !important; /* Bleu clair au lieu de gris */
    border-bottom: 1px solid #dee2e6 !important;
    clear: both !important;
    float: none !important;
    table-layout: auto !important;
    border-radius: 4px !important; /* Coins arrondis pour un meilleur rendu */
}

/* Style pour les options (laboratoires) */
.select2-results__option {
    display: block !important;
    padding: 6px 12px 6px 30px !important;
    white-space: normal !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    table-layout: auto !important;
}

/* Désactivation forcée de tout style de tableau */
.select2-results__group,
.select2-results__option,
.select2-results__options {
    display: table-row: none !important;
    display: table-cell: none !important;
    display: table: none !important;
}

/* Ciblage spécifique pour le container Select2 */
.select2-container--default .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

/* Fix pour les problèmes d'affichage des mots collés */
#pswd_info ul {
    padding-left: 20px;
}

#pswd_info li {
    margin-bottom: 5px;
    white-space: normal;
}

#pswd_info strong {
    margin: 0 3px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
/* Style pour le conteneur des toasts */
.toast-container {
    max-width: 350px;
    width: 100%;
}

/* Style pour les toasts */
.toast {
    width: 100%;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 0.375rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Animation pour les toasts */
.toast.show {
    animation: fadeIn 0.3s ease-out;
}

.toast:not(.show) {
    animation: fadeOut 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}

/* Style pour le header des toasts */
.toast-header {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Style pour le body des toasts */
.toast-body {
    padding: 1rem 1.25rem;
    color: #212529;
}

/* Style pour le spinner dans les toasts */
.spinner-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@keyframes slideIn {
    from {
        transform: translate(-50%, -20px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}


/* Assurez-vous que les cellules du tableau ont un positionnement relatif */
table.dataTable tbody tr {
    position: relative;
}

/* Pour les tableaux dans les onglets */
.tab-pane table.dataTable tbody tr {
    position: static; /* Désactive le position:relative pour les lignes dans les onglets */
}
/* Style pour l'indicateur de chargement */
#accounts-content .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Style pour le bouton de l'onglet pendant le chargement */
.nav-tabs .nav-link.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

/* Style pour le contenu chargé */
.account-table-loaded {
    animation: fadeIn 0.5s ease-in-out;
}

/* Style texte */

.standard-text {
    font-size: 1.1rem; /* Taille standard pour les titres */
}

.fs-6 {
    font-size: 0.8rem; /* Taille standard pour le texte */
}


/* Style pour le bouton d'ajout de correspondant */
.btn-add-correspondant {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 6px 12px;

    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    font-weight: bold;
}

.btn-add-correspondant:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color:white;
}

.btn-add-correspondant:active {
    transform: translateY(0);
}

/* =============== NOTIFICATIONS =====*/

:root {
    /* Couleurs de base pour les notifications */
    --notification-tasks-create-bg: oklch(95% 0.05 140); /* Vert clair */
    --notification-tasks-create-border: oklch(70% 0.15 140); /* Vert moyen */
    --notification-tasks-create-icon: #22c55e; /* Vert vif */

    --notification-tasks-update-bg: oklch(95% 0.05 210); /* Bleu clair */
    --notification-tasks-update-border: oklch(70% 0.15 210); /* Bleu moyen */
    --notification-tasks-update-icon: #3b82f6; /* Bleu vif */

    --notification-tasks-attach-bg: oklch(95% 0.05 280); /* Violet clair */
    --notification-tasks-attach-border: oklch(70% 0.15 280); /* Violet moyen */
    --notification-tasks-attach-icon: #8b5cf6; /* Violet vif */

    --notification-account-expiration-bg: oklch(95% 0.05 45); /* Orange clair */
    --notification-account-expiration-border: oklch(70% 0.15 45); /* Orange moyen */
    --notification-account-expiration-icon: #f97316; /* Orange vif */

    --notification-attachment-expiration-bg: oklch(95% 0.05 30); /* Rouge clair */
    --notification-attachment-expiration-border: oklch(70% 0.15 30); /* Rouge moyen */
    --notification-attachment-expiration-icon: #ef4444; /* Rouge vif */

    /* Effets communs */
    --notification-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    --notification-radius: 0.5rem;
    --notification-transition: all 0.2s ease;
}
/* Variables pour les notifications (identiques au CSS précédent) */
:root {
    --notification-tasks-create-bg: oklch(95% 0.05 140);
    --notification-tasks-create-border: oklch(70% 0.15 140);
    --notification-tasks-create-icon: #22c55e;

    --notification-tasks-update-bg: oklch(95% 0.05 210);
    --notification-tasks-update-border: oklch(70% 0.15 210);
    --notification-tasks-update-icon: #3b82f6;

    --notification-tasks-attach-bg: oklch(95% 0.05 280);
    --notification-tasks-attach-border: oklch(70% 0.15 280);
    --notification-tasks-attach-icon: #8b5cf6;

    --notification-account-expiration-bg: oklch(95% 0.05 45);
    --notification-account-expiration-border: oklch(70% 0.15 45);
    --notification-account-expiration-icon: #f97316;

    --notification-attachment-expiration-bg: oklch(95% 0.05 30);
    --notification-attachment-expiration-border: oklch(70% 0.15 30);
    --notification-attachment-expiration-icon: #ef4444;

    --notification-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    --notification-radius: 0.375rem;
}

/* Style de base pour les items de notification */
.notification-item {
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

/* Styles spécifiques par type */
.notification-tasks-create {
    background-color: var(--notification-tasks-create-bg);
    border-left-color: var(--notification-tasks-create-border);
}

.notification-tasks-update {
    background-color: var(--notification-tasks-update-bg);
    border-left-color: var(--notification-tasks-update-border);
}

.notification-tasks-attach {
    background-color: var(--notification-tasks-attach-bg);
    border-left-color: var(--notification-tasks-attach-border);
}

.notification-account-expiration {
    background-color: var(--notification-account-expiration-bg);
    border-left-color: var(--notification-account-expiration-border);
}

.notification-attachment-expiration {
    background-color: var(--notification-attachment-expiration-bg);
    border-left-color: var(--notification-attachment-expiration-border);
}

/* Style des icônes */
.notification-icon {
    font-size: 1.3rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style du titre de notification */
.notification-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

/* Style du message de notification */
.notification-message {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Style de l'heure */
.notification-time {
    font-size: 0.75rem;
}

/* Style du dropdown */
.dropdown-notifications .dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Style du badge de notification */
.dropdown-notifications .badge {
    font-size: 0.6rem;
    padding: 0.2em 0.4em;
}

/* Effet de survol */
.notification-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--notification-shadow);
}

/* Couleurs personnalisées pour Bootstrap */
.text-purple {
    color: var(--notification-tasks-attach-icon) !important;
}


/* Style de base pour toutes les notifications */
.notification-card {
    border-radius: var(--notification-radius);
    box-shadow: var(--notification-shadow);
    transition: var(--notification-transition);
    border-left: 4px solid transparent;
    overflow: hidden;
}

.notification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Styles spécifiques par type */
.notification-card.tasks-create {
    background-color: var(--notification-tasks-create-bg);
    border-left-color: var(--notification-tasks-create-border);
}

.notification-card.tasks-update {
    background-color: var(--notification-tasks-update-bg);
    border-left-color: var(--notification-tasks-update-border);
}

.notification-card.tasks-attach {
    background-color: var(--notification-tasks-attach-bg);
    border-left-color: var(--notification-tasks-attach-border);
}

.notification-card.account-expiration {
    background-color: var(--notification-account-expiration-bg);
    border-left-color: var(--notification-account-expiration-border);
}

.notification-card.attachment-expiration {
    background-color: var(--notification-attachment-expiration-bg);
    border-left-color: var(--notification-attachment-expiration-border);
}

/* Style des icônes */
.notification-icon {
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style du badge de titre */
.notification-badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

/* Style du bouton */
.notification-btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}
/* Couleurs personnalisées pour Bootstrap */
.text-purple {
    color: var(--notification-tasks-attach-icon) !important;
}

.bg-purple-subtle {
    background-color: var(--notification-tasks-attach-bg) !important;
}

.btn-outline-purple {
    border-color: var(--notification-tasks-attach-border);
    color: var(--notification-tasks-attach-icon);
}

.btn-outline-purple:hover {
    background-color: var(--notification-tasks-attach-border);
    color: white;
}

/* ========== TOASTS MODERNES ========== */
.toast-container {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    width: 100%;
    max-width: 450px;
}

.toast-modern {
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 5px solid;
    overflow: hidden;
    animation: slideIn 0.4s ease-out;
}


.dropdown-toggle {
    white-space: nowrap;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}


/* Style pour l'indicateur DEMO */
.demo-indicator {
    position: relative;
    top: -2px;
    border-radius: 10px;
    opacity: 0.9;
    font-size: 0.75rem;
    padding: 4px 8px;
    animation: gentlePulse 3s infinite;
}



/* Style pour l'icône */
.demo-indicator i {
    font-size: 0.7em;
    position: relative;
    top: -1px;
}

/* Style pour le texte */
.demo-indicator span {
    font-weight: 800;
    font-size: 1.3em;
}

/* Style pour la navbar en mode démo */
.navbar-light.d-print-none {
    position: relative;
}



/* ========== STYLES GÉNÉRAUX ========== */
.table-active {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Badges génériques */
.status-badge,
.date-badge,
.badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    border-radius: 0.25rem;
    font-weight: 500;
}

.date-badge {
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Badges légers */
.badge-success-lt, .bg-success-lt {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.badge-danger-lt {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.bg-error {
    color: white;
    background-color: #dc3545;
}

.badge-blue-lt {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.badge-azure-lt {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.badge-green-lt {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

/* Badges colorés */
.badge-success {
    background-color: rgba(var(--success-color), 1);
    color: white;
}

.badge-get {
    background-color: #6c757d;
    color: white;
}

.badge-post,
.badge-info {
    background-color: rgba(var(--primary-color), 1);
    color: white;
}

.badge-put {
    background-color: #20c997;
    color: white;
}

.badge-patch,
.badge-warning {
    background-color: rgba(var(--warning-color), 1);
    color: white;
}

.badge-delete,
.badge-danger,
.badge-error {
    background-color: rgba(var(--danger-color), 1);
    color: white;
}

/* Style pour les alertes */
.alert {
    border-left: 4px solid;
}
.alert-success {
    border-left-color: #198754;
}
.alert-danger {
    border-left-color: #dc3545;
}

:root {
    --warning-color: oklch(65% 0.18 45); /* Couleur orange moderne et accessible */
    --warning-bg: oklch(95% 0.1 45); /* Fond clair et doux */
    --warning-border: oklch(50% 0.2 45); /* Bordure légèrement plus foncée */
    --warning-shadow: 0 2px 8px rgba(255, 100, 0, 0.1); /* Ombre légère */
}

.alert-warning {
    /* Couleurs */
    color: var(--warning-color);
    background-color: var(--warning-bg);
    border-left: 4px solid var(--warning-border);

    /* Effets modernes */
    box-shadow: var(--warning-shadow);
    border-radius: 0.375rem; /* Coins légèrement arrondis */
    padding: 1rem 1.25rem; /* Espacement interne généreux */
    transition: all 0.2s ease-in-out; /* Animation fluide */

    /* Typographie */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;

    /* Accessibilité */
    backdrop-filter: blur(2px); /* Effet de flou léger pour le fond */
}

.alert-warning:hover {
    transform: translateY(-1px); /* Légère élévation au survol */
    box-shadow: 0 4px 12px rgba(255, 100, 0, 0.15);
}

/* Pour les alertes interactives (si cliquables) */
.alert-warning:focus-within {
    outline: 2px solid oklch(70% 0.15 45);
    outline-offset: 2px;
}


/* ========== SELECT2 ========== */
/* Amélioration de l'affichage des groupes Select2 */
.select2-results__group {
    padding: 6px 10px;
    font-weight: bold;
    background-color: #f0f0f0;
    color: #333;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
    font-size: 1em;
}

/* Réduction des marges pour les éléments imbriqués */
.select2-results__options--nested {
    padding-left: 15px;
    margin-top: 0;
    margin-bottom: 0;
}

/* Style des éléments de la liste */
.select2-results__option {
    padding: 6px 10px;
    margin-bottom: 0;
}

/* Espacement réduit entre les éléments */
.select2-results__option--selectable {
    padding: 6px 10px 6px 25px;
}

/* Surbrillance au survol */
.select2-results__option--selectable:hover {
    background-color: #f8f9fa;
}

/* Style pour les éléments sélectionnés */
.select2-results__option--selected {
    background-color: #e9ecef;
}

/* Réduction de la hauteur des éléments */
.select2-results__option {
    line-height: 1.4;
}

/* Style pour les groupes (version alternative) */
.select2-results__group strong {
    display: block;
    padding: 4px 10px;
    background-color: #0d6efd;
    color: white;
    border-radius: 4px;
    margin-bottom: 5px;
}

/* Réduction de l'espacement global */
.select2-dropdown {
    padding: 0;
}



.invalid-feedback {
    display: none;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback,
.was-validated .select2-container--default:invalid ~ .invalid-feedback,
.select2-container--default.is-invalid ~ .invalid-feedback {
    display: block;
}

/* ========== LISTES ========== */
ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

li,
.collab-item {
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}

/* Badges pour les codes HTTP */
.badge-error { background-color: #dc3545; color: white; }
.badge-warning, .bg-suspended { background-color: #ffc107; color: #212529; }
.badge-success , .bg-active { background-color: #198754; color: white; }
.badge-info { background-color: #0d6efd; color: white; }
.badge-primary { background-color: #0d6efd; color: white; }

/* Badges pour les méthodes HTTP */
.badge-get { background-color: #6c757d; color: white; }
.badge-post { background-color: #0d6efd; color: white; }
.badge-put { background-color: #20c997; color: white; }
.badge-patch { background-color: #fd7e14; color: white; }
.badge-delete { background-color: #dc3545; color: white; }
.badge-head { background-color: #6f42c1; color: white; }
.badge-options { background-color: #0dcaf0; color: white; }

/* Troncature des colonnes trop larges */
.truncate {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Style pour les cellules de date */
.date-cell {
    white-space: nowrap;
    min-width: 150px;
}

/* Style pour les tableaux */
.table-responsive {
    overflow-x: auto;
}

/* Style pour les tooltips */
.tooltip-inner {
    max-width: 300px;
    white-space: normal;
}
/* ========== CARTES ET ÉTATS ========== */
.status-card {
    transition: all 0.2s ease;
}

.status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background-color: rgba(var(--primary-color), 0.15) !important;
}

.status-card i {
    font-size: 1rem;
}

/* ========== TABLEAUX ========== */
.table-condensed th,
.table-condensed td {
    padding: 0.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.25rem;
}

.no-data-message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.text-truncate {
    max-width: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.url-column,
.data-column {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.url-column {
    max-width: 200px;
}

#accountTable {
    min-height: 400px;
}

/* ________ Refresh du tr ________*/

.tr-refreshing {
    position: relative;
}

.tr-refreshing::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Style pour s'assurer que le contenu de la ligne reste visible */
.tr-refreshing > td {
    position: relative;
    z-index: 1;
}

.tr-refreshing > div.position-absolute {
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

/* ========== ÉTATS DE VALIDATION ========== */
.invalid {
    background: url("../img/invalid-8ya2UDR.png") no-repeat 0 50%;
    padding-left: 28px;
    line-height: 24px;
    color: #ec3f41;
}

.valid {
    background: url("../img/valid-iLn0xT6.png") no-repeat 0 50%;
    padding-left: 28px;
    line-height: 24px;
    color: #3a7d34;
}

.disable {
    pointer-events: none;
    background: rgba(128, 128, 128, 0.2);
}

.expiration-date {
    font-size: 0.6rem;
    display: inline-block;
}

/* ========== FORMULAIRES ========== */
pre {
    margin: 0;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    white-space: pre-wrap;
    max-height: 100px;
    overflow-y: auto;
    color: black;
}



/* ========== ONGLETS ========== */
.nav-tabs {
    border-bottom: none;
    gap: 8px;
    margin-bottom: 1rem;
}

.nav-tabs .nav-link {
    border: 1px solid rgba(var(--primary-color), 0.3);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    color: #495057;
    background-color: white;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.nav-tabs .nav-link.active {
    background-color: rgba(var(--primary-color), 1);
    color: white;
    font-weight: 600;
    border-color: rgba(var(--primary-color), 1);
    box-shadow: 0 4px 8px rgba(var(--primary-color), 0.2);
}

.nav-tabs .nav-link:not(.active):hover {
    background-color: rgba(var(--primary-color), 0.1);
    border-color: rgba(var(--primary-color), 0.5);
    box-shadow: 0 2px 6px rgba(var(--primary-color), 0.1);
    transform: translateY(-1px);
}

/* ========== BADGE DE COMPTEUR ========== */
#countUsers {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    vertical-align: text-top;
}
