/* ================================
   DATATABLE MODAL - STYLE BOOTSTRAP
   ================================ */

.dtr-modal-content h2 {
    background: #009DDD;
    color: white;
    padding: 16px 20px;
    margin: 0;
    margin-bottom: 1rem;
    font-size: 18px;
    font-weight: 500;
}

.dtr-modal-content hr {
    margin-block: 0.5rem;
}

/* Rendre les boutons pleine largeur */
.dtr-modal-content .d-grid a,
.dtr-modal-content .d-grid form{
    display: block !important;
    width: 100% !important;
    padding: 10px !important;
    margin-bottom: 8px !important;
    background: #009DDD !important;
    color: white !important;
    text-align: center !important;
    border-radius: 4px !important;
    text-decoration: #009DDD !important;
    font-weight: 500 !important;
}

.dtr-modal-content .d-grid button {
    color: white !important;
}

.dtr-modal-content .d-grid a:last-child {
    margin-bottom: 0 !important;
}

.dtr-modal-content .d-grid a:hover {
    background: #0b5ed7 !important;
}

/* Bouton fermer */
.dtr-modal-close {
    top: -30px !important;
    border: 1px solid #009DDD !important;
    color: #009DDD;
    line-height: 18px;
}

/* Rendre le bouton close visible en dehors de la modal + Ecraser la height par defaut de modal datatable */
.dtr-modal-display {
    overflow: visible !important;
    min-height: 50% !important;
    height: fit-content !important;
}