.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 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;
}

.dialog-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dialog {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 400px;
    max-width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.dialog-overlay.active .dialog {
    transform: scale(1);
}

.dialog-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.dialog-content {
    margin-bottom: 24px;
    color: #666;
    line-height: 1.5;
}

.dialog-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.dialog-button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dialog-button-primary-info {
    background: #007bff;
    color: white;
}

.dialog-button-primary-info:hover {
    background: #0056b3;
}

.dialog-button-primary-success {
    background: #00ff95;
    color: black;
}

.dialog-button-primary-success:hover {
    background: #00b336;
}

.dialog-button-primary-warning {
    background: #ffc400;
    color: black;
}

.dialog-button-primary-warning:hover {
    background: #ceb900;
}

.dialog-button-primary-error {
    background: #ff0000;
    color: white;
}

.dialog-button-primary-error:hover {
    background: #b30000;
}

.dialog-button-secondary {
    background: #6c757d;
    color: white;
}

.dialog-button-secondary:hover {
    background: #545b62;
}

.dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}

.dialog-close:hover {
    color: #333;
}