/** Mobile first **/
    /* Réinitialisation des styles pour le HTML */
    html {
        height: 100%; /* Définit la hauteur de la page HTML à 100% de la fenêtre */
        box-sizing: border-box; /* Inclut les bordures et les paddings dans la largeur et la hauteur des éléments */
    }
    /* Réinitialisation des styles pour le corps de la page */
    body {
        margin: 0; /* Supprime les marges par défaut du corps */
        padding: 0; /* Supprime les paddings par défaut du corps */
        display: flex; /* Utilise Flexbox pour le positionnement des éléments enfants */
        flex-direction: column; /* Organise les éléments enfants en colonne */
        min-height: 100%; /* Définit la hauteur minimale du corps à 100% de la fenêtre */
        background-color: #f7f5f4;
        font-family: 'Open Sans', Arial, Helvetica, sans-serif;
        color: #747474;
    }
    /* Corps de la page */
    .body-container {
        transition: margin-left 0.3s ease;
        flex: 1; /* Prend tout l'espace disponible entre le header et le footer */
        display: flex;
        flex-direction: column; /* Organise les éléments enfants verticalement */
    }
    /* Appliquer une marge à gauche seulement si l'utilisateur est connecté */
    .body-container.logged-in {
        margin-left: 250px; /* Décalage pour la sidebar ouverte */
    }
    /* Styles pour la partie principale de la page */
    main {
        flex: 1; /* Le main prend autant d'espace vertical disponible que possible */
    }
    /* Styles pour le footer */
    footer {
        background: #000000; /* Définit la couleur de fond du footer */
        height: 3em; /* Définit la hauteur du footer à 3 em */
        display: flex; /* Utilise Flexbox pour le positionnement des éléments enfants */
        justify-content: space-evenly; /* Répartit les éléments enfants de manière égale dans l'espace disponible */
        align-items: center; /* Centre les éléments enfants verticalement dans le footer */
        color: #ffffff; /* Définit la couleur du texte du footer en blanc */
        margin-top: auto; /* Pousse le footer vers le bas si l'espace est disponible */
    }
    /* Styles pour les liens du footer */
    footer > a {
        text-decoration: none;
        color: #FFFFFF;
    }
    /* Scrollbars */
    ::-webkit-scrollbar {
        width: 1rem;
        background: #f7f5f4;
        border: 1px #5ca340 solid;
        border-radius: 0.5em;
    }
    ::-webkit-scrollbar-thumb {
        border: 1px #5ca340 solid;
        background-color: #e7e7e7;
        border-radius: 0.5em;
    }
    /* Bouton retour en haut */
    #myBtn {
        display: none;
        position: fixed;
        bottom: 80px;
        right: 30px;
        z-index: 99;
        font-size: 18px;
        border: none;
        outline: none;
        background-color: rgba(0, 0, 0, 0.336);
        color: #ffffff;
        cursor: pointer;
        padding: 15px;
        border-radius: 0.5em;
      }
      #myBtn:hover {
        background-color: #555;
      }
      a {
        color: #1a80b6;
      }
      a:hover {
        color: #dd5522;
      }
    /* ---------------------------------------------------------- Navbar ---------------------------------------------------------- */
        body div.body-container > header > div > nav, .nav-container {
            display: flex;
            /* justify-content: space-between; */
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
        }
        .btn.sidebar {
            background: none;
            color: black;
            font-size: x-large;
        }
        body div.body-container > header > div > nav > div.nav-container-right > div.dropdown > a > strong > i {
            font-size: xx-large;
        }
        body header > div > nav.navbar {
            padding: 1em;
        }
        /* logo */
        .logo-container {
            text-align: -webkit-center; 
        }
        body header > div > nav > div.logo-container > a > img, body div.wrapper > section > div:nth-child(1) > nav > div.logo-container > a > img {
            width: 12em;
            height: auto;
        }
    /* ---------------------------------------------------------- Notifications ---------------------------------------------------------- */
        .notification-icon, .nav-container-right strong {
            margin: 0 1em
        }
        .bi-bell{
            padding: 0 1em;
            font-size: x-large;
        }
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #ffffff;
            min-width: 160px;
            box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.1);
            z-index: 3;
            border-radius: 0.5em;
        }
        .notification-icon:hover .dropdown-content {
            display: block;
            background-color: rgba(0, 0, 0, 0.1)
        }
        #notification-dropdown.dropdown-content li {
            display: flex;
            align-items: center;
            justify-content: space-around;
            border: #555555 1px solid;
            border-radius:1em;
            box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.1);
            background-color: #f7f5f4;
            margin: 0.5em;
            padding: 0.5em;
        }
        #notification-dropdown.dropdown-content li button {
            font-weight: 800;
            font-size: x-large;
            color: #cf7133;
        }
    /* ---------------------------------------------------------- Fil d'ariane ---------------------------------------------------------- */
        nav.breadcrumb {
            background: radial-gradient(circle, #be5c24 0%, #cf7133 50%, #f19b5b 100%);
            box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.1);
        }
        body main > nav > ol.breadcrumb {
            padding: 0.5em 2em 0 1em;
        }
        .breadcrumb-item.active {
            color: #ffffff;
        }
        body main > nav > ol > li.breadcrumb-item a {
            color: #E9EAEE;
        }
    /*---------------------------------------------------------- Titres ----------------------------------------------------------*/
        hr {
            width: 8em;
            border: 1px #16c1e0 solid;
            opacity: 100;
            margin: auto;
        }
        h1 {
            color: #2f2b68;
        }
        h2 {
            color: #dd5522;
        }
        h1, h2 {
            text-align: center;
            font-family: 'Raleway', Arial, Helvetica, sans-serif;
            font-optical-sizing: auto;
            margin: 0.5em;
        }
        h3, h4, h5, h6 {
            color: #333333;
            text-align: center;
        }
    /*---------------------------------------------------------- Infobulles ----------------------------------------------------------*/
        h1 .bi.bi-info-circle-fill, h2 .bi.bi-info-circle-fill {
            font-size: x-large;
        }
        .bi.bi-info-circle-fill {
            font-size: initial;
            color: #67b7e1;
        }
        .text-success-light { /* couleur du texte du status d'un New proposal) */
            color: #dff0d8;
        }
        .custom-tooltip .tooltip-inner { /* .custom-tooltip .tooltip-inner est utilisé pour cibler le contenu interne des tooltips ayant la classe custom-tooltip (le texte qui s'affiche quand on passe sur l'icone).*/
            max-width: 50em; /* Ajustez cette valeur selon vos besoins */
            white-space: normal; /* Permet d'avoir des sauts de ligne normaux */
            text-align: start; /* aligner le texte à gauche */
        }
    /*---------------------------------------------------------- Spinner ----------------------------------------------------------*/
        #loading-spinner-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1050; /* Assurez-vous qu'il est au-dessus de tout */
        }
        .spinner-wrapper {
            text-align: center;
            color: #fff; /* Couleur du texte */
        }
    /*---------------------------------------------------------- Internal messages ----------------------------------------------------------*/
        .modal-internal-messages {
            background-color: #c05f26;
            border-radius: 0.5em;
            color: #ffffff;
        }
        .modal-internal-messages:hover {
            background-color: #ffffff;
            border-radius: 0.5em;
            color: #c05f26;
        }
    /*---------------------------------------------------------- Container ----------------------------------------------------------*/
        .container-white, .container-white-h2 {
            background-color: #ffffff;
            padding: 2em;
            box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.1);
            border-radius: 0.5em;
            margin-top: 1em;
        }
        .container-white-h2 {
            display:flex;
            justify-content:center;
            flex-direction: column;
            align-items: center;
        }
        .container-white.table-responsive {
            display:flex;
            flex-direction:row;
        }
    /*---------------------------------------------------------- Boutons ----------------------------------------------------------*/
        .btn {
            border-radius: 0.5em;
        }
        .nav-pills .nav-link, .btn.back-to, .see-button, .btn.edit-data, .btn.btn-create, .btn.btn-update, .btn.btn-collapse, .submit {
            background-color: #dd5522;
            color: #ffffff;
            margin-top: 1em;
        }
        .btn.btn-secondary.close {
            margin-top: 1em;
        }
        .nav-pills .nav-link.active, .btn.btn-update {
            background-color: #282463;
            color: #FFFFFF;
            margin-top: 1em;
        }
        .nav-pills .nav-link.hover, .btn.back-to:hover, .see-button:hover, .btn.edit-data:hover, .btn.btn-create:hover, .btn.btn-update:hover, .btn.btn-collapse:hover {
            border: 1px #dd5522 solid;
            background-color: #000000;
            color: #ffffff;
        }
        .nav-pills .nav-link:focus-visible, .btn.back-to:focus-visible, .btn.edit-data:focus-visible, .btn.btn-create:focus-visible, .btn.btn-update:focus-visible, .btn.btn-collapse:focus-visible {
            border: 2px #f19b5b solid;
        }
        .btn-bottom {
            display: flex;
            justify-content: space-evenly;
            align-items: flex-end;
        }
        .download-button {
            color: #2f2b68;
            font-weight: bolder;
            border: 1px #2f2b68 solid;
            border-radius: 0.5em;
            padding: 0.5em 0.5em 0.5em 0;
            font-size: small;
        }
        .download-button:hover {
            color: #16C1E0;
            border: 1px #16C1E0 solid;
        }
        .bi.bi-download {
            background-color: #f19b5b;
            padding: 0.5em;
            border-radius: 1em 3em 3em 1em;
            font-size: larger;
        }

    /*---------------------------------------------------------- Cartes ----------------------------------------------------------*/
        .card {
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            border: none;
            transition: transform 0.2s ease;
        }
        .card:hover {
            transform: translateY(-2px);
        }
        .card a:hover { 
            text-transform: uppercase;
            color: #dd5522;
        }
    /* cartes du suivi administrative (adminfistratif) */
        div#administrative-cards.container-white.table-responsive {
            flex-wrap: wrap;
            justify-content: space-around;
        }
        div#administrative-cards.container-white.table-responsive .card {
            margin: 2em;
        }
        .card-header {
            position: relative;
            padding: 1rem;
            border-bottom: none;
            background-color: #fff;
            box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.1);
            border-radius: 0.5em;
            z-index: 2;
        }
        .help-cards {
            display: flex;
            flex-wrap: wrap;
            gap: 1em; /* Espace entre les cartes */
            justify-content: center; /* Centrer les cartes si elles ne remplissent pas la ligne */
            margin: 2em;
        }
        
        .help-cards .card {
            flex: 1 1 18em; /* Chaque carte prend une largeur flexible, min 300px */
            display: flex;
            flex-direction: column;
        }
        
        .help-cards .card-body {
            flex-grow: 1; /* Permet d'étirer la partie body pour uniformiser la hauteur */
        }
        #dynamicModal > div > div > div.modal-body > img {
            width: 100%;
            width: -moz-available;          /* WebKit-based browsers will ignore this. */
            width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
            width: fill-available;
        }
    /*---------------------------------------------------------- Tableaux ----------------------------------------------------------*/
         .table-responsive {
            margin-bottom: 1.5em;
        }
        .tableWithSearchAndButtons th, .tableWithSearchAndButtons tr, .tableWithSearchAndButtons td, .dataTableButtons td {
            vertical-align: middle;
            text-align: center;
        }
        /* Vues show et edit */
        body main > div.container-fluid > div > table, body main > div.container-fluid > form > div > table, body main > div.container-fluid > div.container-white.table-responsive > div > table {
            width: 100%;
        }
        table tbody tr:nth-child(odd),  form #user > div:nth-child(odd) {
            background-color: #EDEDED; 
        }
        th, td, form div div {
            padding: 0.5em;
        }
        th {
            font-weight: bold;
        }
        .container-white.table-responsive td {
            width:50%;
            border-left:1px solid #B0BECD;
        }
        table.dataTable td.dt-type-numeric{
            text-align: center;
        }
        .filterOptions {
            margin: 0.5em;
        }
        .tableWithSearchAndButtons > tbody > tr > td > table > tbody > tr > td {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;
        }
        #dataTableButtons {
            width: 100%;
        }
    /*---------------------------------------------------------- login ----------------------------------------------------------*/
        #beware-login {
            margin-top: 2em;
            border: 1px #5ca340 solid;
            border-radius: 0.5em;
            padding: 1em;
            background-color: #dff0d8;
            color: #000000;
        }
    /*---------------------------------------------------------- proposalTables ----------------------------------------------------------*/
        #filtersProposalUserTable, #filtersProposalEvalTable {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        #filtersProposalUserTable .filterOptions, #filtersProposalEvalTable .filterOptions {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
        }
        #filtersProposalUserTable > div > div, #filtersProposalEvalTable > div > div {
            margin-right: 1em;
        }
        .form-check-input, .newContResub-checkbox, #filtersProposalUserTable .form-check-input.status-checkbox {
            border: 1px black solid;
        }
    /*---------------------------------------------------------- Staff dashboard ----------------------------------------------------------*/
        .staff-dashboard > div {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
        }
        .staff-dashboard > div > div.card {
            box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.1);
            border-radius: 0.5em;
        }
        .staff-dashboard > div > div.card > div {
            display: flex;
            justify-content: space-evenly;
        }
        .staff-dashboard > div > div > div > h3 > i {
            font-size: medium;
            vertical-align: text-top;
        }
        .staff-dashboard > div > div.card > div > div {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .staff-dashboard > div > div > div > a {
            display: flex;
            flex-direction: column;
            align-items: center;
            
        }
        .staff-dashboard > div > div > div > a > i {
            font-size: xx-large;
            color: #5e5971;
        }
    /* ---------------------------------------------------------- Form ---------------------------------------------------------- */
        .form-label-widget {
            width:100%;
        }
        .form-label {
            font-weight: bold;
        }
        .form-widget {
            width:70%
        }
        .form-select, .form-check-input, .form-control, .form-widget > span > span.selection > span {
            background-color: #f8f9fa;
        }
        /* nav-link quand plusieurs steps */
        ul.nav.nav-tabs a.nav-link {
            text-decoration: none;
            color: #5e5971;
        }
        ul.nav.nav-tabs a.nav-link.active {
            text-decoration: none;
            color: #16C1E0;
        }
        .dropdown-item.active, .dropdown-item:active{
            background-color: #16c1e0;
            color: #282463;
        }
        form .table-responsive {
            display: flex;
            justify-content: center;
        }
        /* Feedback form */
        .pre-container-form {
            max-width: 75%;
            margin: auto;
        }
        .pre-container-form h5 {
            text-align: start;
            font-weight: bolder;
            font-size: medium;
        }
        .pre-container-form form div.label-widget {
            margin-bottom: 2em;
        }
        /* Styles pour les champs invalides/valides (compatible Bootstrap) */
        .is-invalid {
            border-color: #dc3545 !important;
            background-color: rgba(220, 53, 69, 0.1) !important;
        }
        .is-valid {
            border-color: #28a745 !important;
            background-color: rgba(40, 167, 69, 0.1) !important;
        }
        .invalid-feedback {
            color: #dc3545;
            font-size: 0.875em;
            margin-top: 0.25rem;
        }
    /*---------------------------------------------------------- Create Proposal ----------------------------------------------------------*/
        .create_proposal_onglet {
            flex-direction: column;
            width: 100%;
        }
        /* form_1 */
        #new_and_form_1 .readonly {
            background-color: #f8f9fa;
            color: #6c757d;
            cursor: not-allowed;
        }
        #new_and_form_1 .contact-message {
            color: #dc3545;
            font-size: 0.9rem;
            margin-top: 0.5rem;
        }
        /* form_2 */
        .suggestions-box {
            position: absolute;
            background-color:#6c757d;
            color: #ffffff;
            list-style: none;
            padding: 0;
            margin: 0;
            width: 92%;
            max-height: 150px;
            overflow-y: auto;
            z-index: 1000;
        }
        
        .suggestions-box li {
            padding: 8px;
            cursor: pointer;
        }
        
        .suggestions-box li:hover {
            background-color: #f0f0f0;
            color: #6c757d;
        }
        
        /* form_4 */
        form div.create-proposal.step-4 #create_proposal_onglet4 div.form-label-widget, #scientific-case {
            align-items: flex-start;
        }
        .create-proposal.step-4 .form-widget {
            width: 100%;
        }
        #create_proposal_onglet4 .form-label-widget, #scientific-case {
            flex-direction: column;
        }
    /*---------------------------------------------------------- Edit Evaluation ----------------------------------------------------------*/
        td.evaluation-cards {
            display: flex;
            justify-content: flex-start;
        }

        td.evaluation-cards div.card.text-center{
            width: 13rem;
        }
    /*---------------------------------------------------------- Statistics ----------------------------------------------------------*/
        #statistics > div {
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            justify-content: space-around;
            align-items: center;
        }
        #statistics > div > div {
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            justify-content: space-around;
            text-align: center;
            max-width: 1320px;

        }
        #statistics > div.container-fluid div.card-deck {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            margin-bottom: 2em;
        }
        #statistics > div.container-fluid div.card-deck a {
            margin: 1em;
            text-decoration: none;
        }
        #statistics > div.container-fluid div.card-deck a div > p:first-child {
            font-weight: bold;
        }
        #statistics-request .custom-request-select {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            margin: 1em;
            border-bottom: groove;
        }
        div.statistic table.dataTable>tfoot>tr>th {
            text-align: end;
        }
    /*---------------------------------------------------------- Pages du footer ----------------------------------------------------------*/
        .legal-privacy {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    /*---------------------------------------------------------- Animation ----------------------------------------------------------*/
        /* Keyframes */
        @keyframes float {
            0% {
            box-shadow: 0 5px 15px 0px rgba(255, 0, 0, 0.6);
            transform: translatey(0px);
            }
            50% {
            box-shadow: 0 25px 15px 0px rgba(255, 0, 0, 0.6);
            transform: translatey(-20px);
            }
            100% {
            box-shadow: 0 5px 15px 0px rgba(255, 0, 0, 0.6);
            transform: translatey(0px);
            }
        }
/** Ajustement pour les petits écrans */
    @media (max-width: 768px) {
        #notification-dropdown {
            max-width: 16em; /* Réduire la largeur sur les écrans plus petits */
            word-wrap: break-word; /* Force le texte à se couper si nécessaire */
            white-space: normal; /* Permet au texte de revenir à la ligne */
            overflow: hidden; /* Empêche le débordement horizontal */
        }
        #notification-dropdown li {
            max-width: 100%; /* S'assurer que la liste n'a pas de débordement horizontal */
            word-wrap: break-word;
            white-space: normal;
        }
        #notification-dropdown a {
            display: block; /* Force les liens à occuper toute la largeur disponible */
            word-wrap: break-word; /* Coupe les mots trop longs */
            white-space: normal; /* Permet au lien de revenir à la ligne */
            overflow: hidden; /* Empêche le texte de déborder */
            text-overflow: ellipsis; /* Affiche des points de suspension si nécessaire */
        }    
    }
/** Media queries xxl - à partir de 680px **/
    @media (min-height: 768px), screen and (orientation: portrait) {
        /* Styles pour les écrans extra-larges (xxl) */
        /* hauteur supérieure ou égale à 680 pixels ou si l'écran est en mode portrait */
        /* On note ici uniquement les items qui doivent être modifiés selon la taille de l'écran */
        /* ---------------------------------------------------------- Navbar ---------------------------------------------------------- */
        body header > div > nav.navbar {
            display: flex;
            align-items: center;
        }
        body div.body-container > header > div > nav, .nav-container {
            padding-right: 1em;
        }
        /* ---------------------------------------------------------- Breadcrumb ---------------------------------------------------------- */
        nav.breadcrumb {
            height: 2.5em;
        }

        /* ---------------------------------------------------------- Container principal ---------------------------------------------------------- */
        .container-white, .container-white-h2 {
            margin: 2em;
        }
    }

    /* ---------------------------------------------------------- Help ---------------------------------------------------------- */
    #help-deadlines-cards {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }

    /* ---------------------------------------------------------- Zoom image ---------------------------------------------------------- */
    #zoomedImage {
        width: 100%;
		height: auto;
		object-fit: contain;
		max-height: 90vh;
	}

    .zoom.modal-dialog.modal-dialog-centered{
        min-width: fit-content;
    }

    /* Custom CSS à placer dans ton fichier ou <style> */
    .modal-backdrop.show:nth-of-type(2) {
        z-index: 1060;
    }

    #zoomModal {
        z-index: 1061;
    }

    #zoomModal .zoom.modal-dialog.modal-dialog-centered div.modal-header {
        background-color: #ffffff;
    }
    
    /* TODO link > ajouter tooltip et style pour les liens dans le site et autre style pour les liens externes */


/* Popover avec image */
.custom-popover-image { max-width: 650px !important; }
.custom-popover-image .popover-body { padding: 15px; background:#fff; }
.consommation-popover { cursor: pointer; }
.interruptibilite-popover { cursor: pointer; }
.pilotabilite-popover { cursor: pointer; }

/** formulaire Selcom autres évaluateur **/
.faux-form {
    border: 1px #5ca340 solid;
    border-radius: 0.5em;
    background-color: #f8f9fa;
    padding: 0.5em;
}

/* ---------------------------- Styles pour les tableaux éditables avec validation ---------------------------- */
th.bg-editable, td:has(.editable.proposallocalcontact) {
    background-color: #16c2e079;
}
select.editable, textarea.editable {
    border-radius: 0.5em;
    border: 1px #16c2e0 solid;
    vertical-align: middle;
    background-color: white;
    padding: inherit;
}
textarea.editable {
    height: 12em;
}
#lc-dashboard-prop-to-plan textarea.editable{
    height: inherit;
}
.field-modified {
    background-color: #fff3cd !important; /* Jaune léger pour les champs modifiés */
    border: 2px solid #000000 !important;
}

.field-validated {
    background-color: #d4edda !important; /* Vert léger pour les champs validés */
    border: 2px solid #28a745 !important;
}

.field-validated:disabled {
    background-color: rgba(222, 226, 230, 0.75) !important; /* Vert plus pâle pour les champs désactivés */
    border: 2px solid #343a40 !important;
    opacity: 0.8;
    cursor: not-allowed;
}

/* Style spécifique pour les checkbox validées cochées */
.field-validated[type="checkbox"]:checked:disabled {
    background-color: #343a40 !important; /* Fond vert foncé pour les checkbox cochées */
    border: 2px solid #155724 !important;
    opacity: 1 !important; /* Forcer l'opacité à 1 pour bien voir le cochage */
}

.field-validated[type="checkbox"]:checked:disabled::before {
    color: white !important; /* Couleur de la coche */
    font-weight: bold !important;
}

.row-modified {
    background-color: #fffbf0 !important; /* Fond jaune très léger pour la ligne modifiée */
}

.row-validated, td:has(.editable.proposallocalcontact.field-validated){
    background-color: #f0fff4 !important; /* Fond vert très léger pour la ligne validée */
}

/* animations pour le feedback */
.validation-success {
    animation: successPulse 0.6s ease-in-out;
}

.validation-error {
    animation: errorPulse 0.6s ease-in-out;
}

@keyframes successPulse {
    0% { background-color: #d4edda; }
    50% { background-color: #28a745; }
    100% { background-color: #d4edda; }
}

@keyframes errorPulse {
    0% { background-color: #f8d7da; }
    50% { background-color: #dc3545; }
    100% { background-color: #f8d7da; }
}

/* Styles pour les boutons de validation */
.submit-btn {
    min-width: 100px;
    transition: all 0.3s ease;
}

.submit-btn:disabled {
    opacity: 0.7;
}

/* États des lignes de tableau */
tr.row-modified .submit-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}
/* ---------------------------- Fin des styles pour les tableaux éditables avec validation ---------------------------- */