/* Overlay */
.confirm-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 5000 !important;
    opacity: 1;
    display: none;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.confirm-modal.active {
    display: flex !important;
}


/* Modal Box */
.confirm-box {
    background: #fff;
    width: 90%;
    max-width: 400px;

    border-radius: 12px;
    padding: 20px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.25);

    animation: fadeIn 0.2s ease-out;
}

/* Buttons */
.confirm-buttons {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 10px;
    margin-top: 15px;
}

.confirm-buttons .btn {
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    border: none;
    transition: 0.2s;
}

.confirm-buttons .ok {
    background: #e63946;
    color: #fff;
}

.confirm-buttons .ok:hover {
    background: #b71c1c;
}

.confirm-buttons .cancel {
    background: #ddd;
}

.confirm-buttons .cancel:hover {
    background: #bbb;
}

/* Animation */
@keyframes fadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}