.fiche-header {
    background-color: var(--color-principal);
    color: #fff;
    padding: 7px 0px;
    font-weight: 700;
}

.fiche-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.fiche-header-dates {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
    white-space: nowrap;
}

.content-body {
    padding-left: 6.5rem;
    padding-right: 6.5rem;
    background-color: #EAF0FA;
    padding-bottom: 4.5rem;
    min-height: 100vh;
    display: flow-root;
}

.fiche-edit-btn {
    background: #fff;
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.fiche-back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.fiche-tabs-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fiche-actions-row {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
}

.fiche-tabs {
    display: flex;
    gap: 10rem;
    align-items: center;
    padding-top: 1.2rem;
}

.fiche-tab-active {
    background-color: var(--color-secondaire);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-weight: 700;
    cursor: pointer;
}

.fiche-tab-link {
    background: none;
    border: none;
    color: var(--color-principal);
    font-weight: 600;
    cursor: pointer;
}

.fiche-tab-icone {
    width: 1.1em;
    height: 1.1em;
    vertical-align: -0.15em;
    object-fit: contain;
}

.btn-resilier {
    background-color: #f44336;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-weight: 700;
    cursor: pointer;
}

.btn-refuser {
    color: #fff !important;
    background-color: #f44336 !important;
    border-color: #f44336 !important;
}

.fiche-card {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.fiche-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F7F7F7;
    color: var(--color-secondaire);
    font-weight: 700;
    padding: 8px 14px;
    border-bottom: 2px solid var(--color-secondaire);
}

.fiche-card-body {
    padding: 30px;
}

    .fiche-card-body p {
        margin-bottom: 6px;
    }

.courrier-generer-bloc {
    background: #e3eaf3 !important;
    border-radius: 4px;
    margin: 10px 40px 20px;
    padding: 20px;
}

.courrier-generer-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.courrier-generer-label {
    font-family: "AllianzNeo-Regular", sans-serif;
    font-size: 16px;
    color: rgb(117, 117, 117);
    font-weight: 700;
    white-space: nowrap;
    margin: 0 40px 0 0;
}

.courrier-generer-select {
    flex: 1;
    min-width: 260px;
}

.courrier-resultat-bloc {
    background: #e3eaf3 !important;
    border-radius: 4px;
    margin: 0 40px 40px;
    padding: 20px;
}

.courrier-resultat {
    margin: 0;
}

.courrier-resultat-titre {
    color: var(--color-principal);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.courrier-balises-panel,
.courrier-pdf-panel {
    height: 650px;
}

.courrier-balises-panel {
    overflow-y: auto;
}

.courrier-balises-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

    .courrier-balises-table td {
        padding: 8px 12px;
        border-bottom: 1px solid #eee;
        font-size: 0.85rem;
        vertical-align: top;
    }

    .courrier-balises-table tr:last-child td {
        border-bottom: none;
    }

.courrier-balise-nom {
    color: #888;
    white-space: nowrap;
}

.courrier-balise-valeur {
    color: var(--color-principal);
    font-weight: 600;
    word-break: break-word;
}

.courrier-balise-input {
    width: 100%;
    padding: 4px 6px;
    font-size: 0.85rem;
    color: var(--color-principal);
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
}

    .courrier-balise-input:hover,
    .courrier-balise-input:focus {
        border-color: #ccc;
        background: #fff;
        outline: none;
    }

.courrier-pdf-frame {
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #525659;
}

.courrier-resultat-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
}

.btn-envoyer-mail-courrier {
    background-color: #f5a623;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
}

.btn-enregistrer-courrier {
    background-color: #43a047;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
}

.btn-regenerer-courrier {
    background-color: var(--color-principal);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
}

.mail-message-apercu {
    min-height: 200px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: text;
}

    .mail-message-apercu:focus {
        outline: 2px solid var(--color-secondaire);
        outline-offset: -1px;
    }

    .mail-message-apercu img {
        max-width: 100%;
    }

.mail-champs-chargement {
    padding: 40px 0;
    text-align: center;
    color: #888;
    font-size: 0.95rem;
}

    .mail-champs-chargement i {
        margin-right: 8px;
        color: var(--color-secondaire);
    }

.mail-input-large {
    max-width: 100% !important;
}

.generer-document-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.generer-document-label {
    font-family: "AllianzNeo-Regular", sans-serif;
    font-size: 18px;
    color: rgb(117, 117, 117);
    font-weight: 700;
    white-space: nowrap;
    margin: 0;
}

.generer-document-select {
    flex: 1;
    max-width: 350px !important;
}

.fiche-inline-edit {
    color: #999;
    margin-left: 6px;
    cursor: pointer;
}

.fiche-card-body p {
    font-family: "AllianzNeo-Regular", sans-serif;
    font-size: 16px;
    color: var(--color-principal);
}

    .fiche-card-body p strong {
        font-family: "AllianzNeo-Bold", sans-serif;
        font-weight: 400;
        font-size: 18px !important;
    }

.fiche-mini-table {
    width: 90%;
    margin: 0 auto;
    border-collapse: collapse;
}

    .fiche-mini-table th {
        text-align: left;
        color: var(--color-principal);
        font-weight: 700;
        padding-bottom: 4px;
        font-size: 1rem;
    }

    .fiche-mini-table td {
        padding: 6px 0;
        color: #999;
        font-size: 0.85rem;
    }

        .fiche-mini-table td:last-child {
            text-align: right;
            white-space: nowrap;
        }

.fiche-inline-edit,
.fiche-inline-toggle {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 8px;
}

.fiche-inline-edit {
    color: #999;
}

.fiche-inline-toggle {
    color: var(--color-secondaire);
}

.fiche-inline-toggle-off {
    color: #ccc;
}

.fiche-mini-table-empty {
    text-align: center;
    color: #999;
    padding: 20px 0;
}

.fiche-info-row {
    display: grid;
    grid-template-columns: 65% 35%;
    align-items: baseline;
    padding-right: 2rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .fiche-info-row {
        grid-template-columns: 1fr;
        row-gap: 6px;
        padding-right: 0;
    }
}

.fiche-fournisseurs-liste {
    display: inline-flex;
    flex-direction: column;
    vertical-align: top;
}

.fiche-fournisseur-item::before {
    content: "- ";
}

.fiche-conseiller-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fiche-conseiller-select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    background: transparent;
    padding: 4px 0;
    color: #888;
    font-size: 0.9rem;
    margin-top: 4px;
    margin-bottom: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    .fiche-conseiller-select:focus {
        outline: none;
        border-bottom-color: var(--color-principal);
    }

.fiche-select-erreur {
    border-bottom: 2px solid #f44336 !important;
}

.modal-footer-right {
    justify-content: right !important;
}

.content-center {
    display :flex;
    justify-content: center !important;
}

.label-resiiation {
    text-align: center;
    font-size: 18px !important;
}

.select-centre,
.select-centre option {
    text-align: center;
}

.pieces-justificatives-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.piece-justificative-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
    font-family: "AllianzNeo-Regular", sans-serif;
    font-size: 14px;
}

    .piece-justificative-item:last-child {
        border-bottom: none;
    }

.piece-libelle {
    color: var(--color-principal);
}

.piece-libelle-valide {
    color: #2e7d32;
}

.piece-icone {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.commentaires-liste {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    max-height: 320px;
    overflow-y: auto;
}

.commentaire-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background-color: #F7F6FA;
    border-left: 3px solid var(--color-principal);
    border-radius: 6px;
    padding: 8px 12px;
    font-family: "AllianzNeo-Regular", sans-serif;
    font-size: 14px;
}

    .commentaire-item + .commentaire-item {
        margin-top: 8px;
    }

/* Message saisi par le courtier dans le formulaire de demande de code */
.commentaire-item-courtier {
    background-color: #EEF8F1;
    border-left-color: var(--color-secondaire);
}

    .commentaire-item-courtier .commentaire-date i,
    .commentaire-item-courtier .commentaire-auteur {
        color: #3f9a5c;
    }

/* Message du courtier épinglé en haut du bloc Commentaires, séparé des commentaires de l'équipe */
.commentaire-courtier-epingle {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #d6d3e0;
}

.commentaire-courtier-titre {
    margin: 0 0 6px 0;
    font-family: "AllianzNeo-Bold", sans-serif;
    font-size: 14px !important;
    color: #3f9a5c !important;
}

    .commentaire-courtier-titre i {
        margin-right: 4px;
    }

.commentaire-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.commentaire-date {
    color: #888;
    font-size: 12px;
}

    .commentaire-date i {
        margin-right: 4px;
    }

.commentaire-auteur {
    color: var(--color-principal);
    font-weight: 700;
    font-size: 13px;
}

.commentaire-texte {
    margin: 0;
    color: #333;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

.commentaires-vide {
    color: #888;
    font-style: italic;
    font-size: 14px;
    margin: 0 0 12px;
}

.commentaires-actions {
    display: flex;
    justify-content: right;
}

.btn-ajouter-commentaire {
    color: black;
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding: 0.4rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
}

.documents-section {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 16px;
    padding: 20px;
}

.documents-section-title {
    color: var(--color-secondaire);
    font-weight: 700;
    font-size: 1.6rem;
    margin-top: 3rem;
}

.documents-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 14px;
}

.btn-documents-action {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: var(--color-principal);
    cursor: pointer;
}

.documents-table {
    width: 100%;
    border-collapse: collapse;
}

    .documents-table th {
        text-align: left;
        background-color: #F7F7F7;
        color: var(--color-principal);
        font-weight: 700;
        font-size: 0.85rem;
        padding: 8px 10px;
        border-bottom: 1px solid #eee;
    }

    .documents-table td {
        padding: 2px;
        font-size: 0.9rem;
        color: var(--color-principal);
    }

    .documents-table-checkbox {
        width: 30px;
    }

.btn-document-genere-lien {
    background: none;
    border: none;
    padding: 4px 0;
    cursor: pointer;
    color: #0d6efda3;
    font-size: 0.9rem;
    text-align: left;
}

    .btn-document-genere-lien:hover {
        text-decoration: underline;
    }

    .btn-document-genere-lien i {
        color: #888;
        margin-right: 4px;
    }

.documents-pagination,
.commentaires-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--color-principal);
}

.commentaires-pagination {
    justify-content: center;
}

.btn-pagination {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2px 8px;
    cursor: pointer;
    color: var(--color-principal);
}

    .btn-pagination:disabled {
        opacity: 0.4;
        cursor: default;
    }

.pagination-page-courante {
    padding: 0 6px;
    font-weight: 700;
}

.pagination-taille-label {
    margin-left: 20px;
}

.pagination-taille-select {
    padding: 2px 6px;
}

.pagination-resume {
    margin-left: auto;
    color: #888;
}

.icone-piece {
    color: #f0ad4e;
    font-size: 1.1rem;
}

.btn-upload-piece {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.pieces-icone-col {
    text-align: center !important;
}

.documents-table-etat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.piece-etat-menu-wrapper {
    position: relative;
    display: inline-block;
}

.piece-etat-icone {
    cursor: pointer;
}

.piece-etat-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.piece-etat-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 11;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 6px 0;
    min-width: 220px;
}

.piece-etat-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: none;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: var(--color-principal);
    text-align: left;
    cursor: pointer;
}

.piece-etat-menu-item:hover {
    background-color: #f0f0f0;
}

.piece-row {
    cursor: pointer;
}

.piece-row:hover {
    background-color: #f7f7f7;
}

.piece-detail-row td {
    padding: 0 !important;
    background-color: #fafafa;
}

.piece-detail-panel {
    padding: 10px 14px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.piece-detail-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.btn-ajouter-piece-detail {
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding: 0.4rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-principal);
    cursor: pointer;
}

.piece-detail-close {
    background: none;
    border: none;
    color: #f44336;
    font-size: 1.1rem;
    cursor: pointer;
}

.piece-detail-table {
    width: 100%;
    border-collapse: collapse;
}

    .piece-detail-table th {
        text-align: left;
        background-color: #F0F0F0;
        color: var(--color-principal);
        font-weight: 700;
        font-size: 0.85rem;
        padding: 6px 10px;
        border-bottom: 1px solid #eee;
    }

    .piece-detail-table td {
        padding: 6px 10px;
        font-size: 0.85rem;
        color: var(--color-principal);
    }

.piece-detail-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fiche-inline-action {
    background: none;
    border: none;
    color: var(--color-secondaire);
    cursor: pointer;
}

.piece-ajout-form .form-group {
    margin-bottom: 34px;
}

.piece-ajout-form .col-form-label {
    font-size: 1rem;
    font-weight: 600;
}

.piece-infos-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

    .piece-infos-row label {
        flex: 0 0 160px;
        white-space: nowrap;
        margin: 0;
    }

.piece-file-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    background-color: var(--color-secondaire);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

.piece-file-upload-btn:hover {
    opacity: 0.9;
}

.zone-depot {
    position: relative;
    border: 2px dashed var(--color-secondaire);
    border-radius: 12px;
    padding: 16px 10px;
    text-align: center;
    transition: background-color 0.2s;
}

.zone-depot-survol,
.zone-depot:hover {
    background-color: #eef5ff;
}

.zone-depot-icone {
    font-size: 1.6rem;
    color: var(--color-secondaire);
}

.zone-depot-titre {
    margin: 6px 0 2px;
    font-weight: 700;
    color: #9e9e9e;
}

.zone-depot-sous-titre {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.zone-depot-formats {
    margin: 6px 0 0;
    font-size: 0.75rem;
    color: #757575;
}

.zone-depot-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.piece-fichier-nom {
    display: inline-block;
    margin-top: 10px;
    color: #2e7d32;
    font-size: 0.85rem;
}

.piece-ajout-erreur {
    color: #f44336;
    font-size: 0.85rem;
    margin: 8px 0 0;
}

.voir-piece-zoom-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 12px;
    color: #fff;
    font-size: 0.85rem;
}

.voir-piece-zoom-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}

.voir-piece-zoom-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.voir-piece-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.voir-piece-image-wrapper img {
    max-width: none;
    transition: transform 0.15s ease;
}

.voir-piece-telechargement {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    height: 100%;
    color: var(--color-principal);
}

    .voir-piece-telechargement a {
        text-decoration: none;
    }

/* --- Onglet Evènements --- */
.evenements-card {
    padding: 0;
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid #e5e5e5;
}

.evenements-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-principal);
}

.evenements-filtre {
    border-radius: 0;
    margin: 15px;
    background-color: #e7ebf3 !important;
}

    .evenements-filtre .row {
        display: flex;
        align-items: center;
    }

    .evenements-filtre .md-form {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .evenements-filtre .md-form input[type="text"],
    .evenements-filtre .md-form select {
        height: 42px !important;
        line-height: normal !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        box-shadow: none !important;
        background-image: none !important;
        vertical-align: middle;
    }

.evenements-champ-avec-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .evenements-champ-avec-label label {
        flex: 0 0 auto;
        white-space: nowrap;
        margin-bottom: 0 !important;
    }

    .evenements-champ-avec-label select,
    .evenements-champ-avec-label .multiselect-dropdown {
        flex: 1 1 auto;
    }

    .evenements-filtre .md-form input[type="text"],
    .evenements-filtre .md-form select {
        border: none !important;
        border-radius: 6px !important;
        background-color: #fff !important;
        padding: 0 14px !important;
        font-weight: 400 !important;
    }

/* --- Dropdown multi-sélection (Évènements) --- */
.multiselect-dropdown {
    position: relative;
}

.multiselect-dropdown-toggle {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 0.95rem;
    color: var(--color-principal);
    cursor: pointer;
    text-align: left;
}

    .multiselect-dropdown-toggle span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .multiselect-dropdown-toggle i {
        color: #888;
        font-size: 0.8rem;
        margin-left: 8px;
        flex: 0 0 auto;
    }

.multiselect-dropdown-toggle-auto {
    height: auto;
    min-height: 42px;
    white-space: normal;
}

.multiselect-dropdown-noms {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    white-space: normal;
}

    .multiselect-dropdown-noms .multiselect-dropdown-nom-item i {
        color: #888;
        font-size: 0.85em;
        margin-right: 4px;
    }

.modal-ajouter .multiselect-dropdown-toggle {
    height: 30px;
    padding: 2px 10px;
    font-size: 0.8rem;
    color: #495057;
    font-weight: 400;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.modal-ajouter .multiselect-dropdown-toggle-auto {
    height: auto;
    min-height: 30px;
}

.multiselect-dropdown-overlay {
    position: fixed;
    inset: 0;
    z-index: 15;
    background: transparent;
}

.multiselect-dropdown-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    max-height: 260px;
    overflow-y: auto;
    padding: 6px 0;
}

.multiselect-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 16px;
    cursor: pointer;
    color: var(--color-principal);
    font-size: 0.9rem;
}

    .multiselect-dropdown-item:hover {
        background-color: #f4f6f8;
    }

    .multiselect-dropdown-item i {
        color: var(--color-secondaire);
    }

.evenements-select-wrapper select {
    background-color: #fff !important;
}

.evenements-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.btn-evenements-action {
    background-color: #f26436 !important;
    border-color: #f26436 !important;
    color: #fff !important;
    border-radius: 4px !important;
    flex: 1;
}

    .btn-evenements-action:hover {
        background-color: #d9552a !important;
        border-color: #d9552a !important;
    }

.evenements-table {
    width: calc(100% - 40px);
    margin: 0 20px;
    border: 1px solid #e5e5e5;
}

    .evenements-table thead th {
        text-align: left !important;
        background-color: #f1f2f6;
        border-color: #dfe4ea !important;
        border-style: none none solid solid !important;
        border-width: medium medium 1px 1px !important;
        color: #566380;
        font-size: 0.8rem;
        text-transform: uppercase;
    }

    .evenements-table tbody td {
        text-align: left !important;
        border-bottom: 1px solid #f0f0f0;
        border-top: none;
        font-size: 0.85rem;
        font-weight: 400;
        color: #566380;
    }

    .evenements-table tbody tr:hover {
        background-color: #f7faff;
    }

.btn-evenement-voir-piece,
.btn-evenement-details {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #e74c3c;
}

.btn-evenement-envoyer-mail {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--color-principal);
}

.btn-evenement-details {
    color: var(--color-principal);
}

.evenements-details-row td {
    background-color: #f4f6f8;
    padding: 0 !important;
}

.evenements-details-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 40px;
}

.evenements-details-table {
    width: 75%;
    border-collapse: collapse;
}

.btn-evenement-fermer-details {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #e74c3c;
    margin-top: 6px;
}

    .evenements-details-table thead th {
        text-align: left;
        background-color: #e7ebf3;
        color: #566380;
        font-size: 0.78rem;
        text-transform: uppercase;
        padding: 8px 24px;
        border: none;
    }

    .evenements-details-table tbody td {
        text-align: left;
        padding: 8px 24px;
        font-size: 0.85rem;
        color: #566380;
        border-bottom: 1px solid #e5e5e5;
    }

.evenements-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 0.85rem;
    color: var(--color-principal);
}

    .evenements-pagination .pagination-resume {
        margin-left: auto;
        color: #888;
    }