﻿.modal-template.e-popup.e-popup-open.e-dialog {
    border-radius: 10px !important;
}

.modal-template .e-dlg-header-content {
    padding: 0 !important;
}

.modal-template .modal-header-custom {
    background-color: var(--primary-color);
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .modal-template .modal-header-custom i {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.3rem;
        color: white !important;
    }

.modal-template .modal-header-title {
    color: white !important;
}

.modal-template .modal-separator {
    height: 1px;
    background-color: #e0e0e0;
    margin-bottom: 1rem;
}

.modal-template .e-footer-content {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 1rem;
}

    /* Bouton primaire */
    .modal-template .e-footer-content .e-primary {
        background-color: var(--secondary-color) !important;
        border: none !important;
        color: white !important;
        padding: 8px 16px;
        border-radius: 6px;
        font-weight: 600;
        transition: background-color 0.2s;
    }

        .modal-template .e-footer-content .e-primary:hover {
            background-color: rgba(var(--secondary-color-rgb), 0.4) !important;
        }

    /* Bouton annuler */
    .modal-template .e-footer-content button:not(.e-primary):not(.modal-delete-button) {
        background-color: #f2f2f2;
        border: 1px solid #ccc;
        color: #333;
        padding: 8px 14px;
        border-radius: 6px;
        font-weight: 500;
        transition: background-color 0.2s;
    }

        .modal-template .e-footer-content button:not(.e-primary):not(.modal-delete-button):hover {
            background-color: #e4e4e4;
        }

/* Bouton Supprimer */
.modal-template .modal-delete-button {
    background-color: var(--important-color) !important;
    color: white !important;
    border: none !important;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s;
}

    .modal-template .modal-delete-button:hover {
        background-color: rgba(var(--important-color-rgb), 0.4) !important;
    }

    .modal-template .modal-delete-button span {
        margin: 0 !important;
        width: inherit !important;
    }
