/* MODAL OVERLAY */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

/* MODAL BOX */
.modal-box {
    background-color: #F5F5F5;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* MODAL CONTENT */
.modal-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #5299C7;
    margin-bottom: 20px;
    line-height: 1.2;
}

.modal-message {
    font-size: 20px;
    color: #2C3E50;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* MODAL BUTTONS */
.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-button {
    padding: 15px 35px;
    font-size: 20px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-button-primary {
    background-color: #5299C7;
    color: white;
}

.modal-button-primary:hover {
    background-color: #4188B6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 153, 199, 0.4);
}

.modal-button-secondary {
    background-color: #E0E0E0;
    color: #2C3E50;
}

.modal-button-secondary:hover {
    background-color: #D0D0D0;
    transform: translateY(-2px);
}

.modal-button-success {
    background-color: #4CAF50;
    color: white;
}

.modal-button-success:hover {
    background-color: #45A049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.modal-button-danger {
    background-color: #F44336;
    color: white;
}

.modal-button-danger:hover {
    background-color: #E53935;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .modal-box {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 26px;
    }
    
    .modal-message {
        font-size: 18px;
    }
    
    .modal-button {
        padding: 12px 28px;
        font-size: 18px;
    }
}
