﻿/* Confirmation Dialog Container */
.confirm-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index:9999999;
}

    .confirm-dialog.active {
        opacity: 1;
        visibility: visible;
    }

/* Dialog Box */
.dialog-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 400px;
    padding: 24px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.confirm-dialog.active .dialog-box {
    transform: translateY(0);
}

/* Dialog Content */
.dialog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.dialog-message {
    font-size: 1rem;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Button Container */
.dialog-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Buttons */
.dialog-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.dialog-btn-cancel {
    background-color: #f0f0f0;
    color: #333;
}

    .dialog-btn-cancel:hover {
        background-color: #e0e0e0;
    }

.dialog-btn-ok {
    background-color: #4CAF50;
    color: white;
}

    .dialog-btn-ok:hover {
        background-color: #3e8e41;
    }

/* For destructive actions */
.dialog-btn-destructive {
    background-color: #f44336;
    color: white;
}

    .dialog-btn-destructive:hover {
        background-color: #d32f2f;
    }
