.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fond grisé semi-transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;   
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-footer {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.modal-close-cross {
    position: absolute;
    top: 12px;
    right: 16px; /* Mets 'left: 16px;' si tu la veux absolument à gauche */
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease;
}

    .modal-close-cross:hover {
        color: #111827; /* Devient plus foncé au survol */
    }