/* Modal d'accès refusé - Styles généraux */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.confirm-modal.hidden {
    display: none;
}

.confirm-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.confirm-modal-content h2 {
    margin-top: 0;
}

.modal-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-around;
}

.modal-buttons button {
    padding: 0.5rem 1.5rem;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cancel-modal-btn {
    border: 1px solid #047;
    background: white;
    color: #047;
}

.cancel-modal-btn:hover {
    background: #f8f9fa;
}

.modal-confirm-btn {
    background: #047;
    color: white;
}

.modal-confirm-btn:hover {
    background: #035;
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #666;
    transition: color 0.3s ease;
}

.close-modal-btn:hover {
    color: #333;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.modal-text {
    font-weight: bold;
    color: black;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .confirm-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .modal-buttons button {
        width: 100%;
    }
}
