/* Custom Confirm Modal - jvalert */
.jvalert-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: jvalert-show 0.3s;
}

.jvalert-container.show {
    display: flex;
}

@keyframes jvalert-show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.jvalert-popup {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: jvalert-popup-show 0.3s;
    position: relative;
}

@keyframes jvalert-popup-show {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.jvalert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.jvalert-icon.warning {
    background: #fff3cd;
    color: #f39c12;
}

.jvalert-icon.error {
    background: #f8d7da;
    color: #dc3545;
}

.jvalert-icon.success {
    background: #d4edda;
    color: #28a745;
}

.jvalert-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px;
    text-align: center;
}

.jvalert-html-container {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin: 0 0 30px;
    line-height: 1.5;
}

.jvalert-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.jvalert-confirm,
.jvalert-cancel {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.jvalert-confirm {
    background: #dc3545;
    color: white;
}

.jvalert-confirm:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.jvalert-cancel {
    background: #6c757d;
    color: white;
}

.jvalert-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

.jvalert-confirm:focus,
.jvalert-cancel:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
