/* admin/common-dialogs.css */
.custom-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
}
.custom-dialog-overlay.active {
    visibility: visible;
    opacity: 1;
}
.custom-dialog {
    background: white;
    border-radius: 28px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: dialogFadeIn 0.2s ease;
    overflow: hidden;
}
@keyframes dialogFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.custom-dialog-header {
    padding: 24px 24px 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.custom-dialog-header i {
    font-size: 28px;
}
.custom-dialog-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}
.custom-dialog-content {
    padding: 16px 24px;
    color: #334155;
    line-height: 1.5;
    font-size: 15px;
}
.custom-dialog-buttons {
    padding: 0 24px 24px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.custom-dialog-buttons button {
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: 0.2s;
}
.btn-dialog-confirm {
    background: #2563eb;
    color: white;
}
.btn-dialog-confirm:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}
.btn-dialog-cancel {
    background: #f1f5f9;
    color: #475569;
}
.btn-dialog-cancel:hover {
    background: #e2e8f0;
}
.btn-dialog-danger {
    background: #ef4444;
    color: white;
}
.btn-dialog-danger:hover {
    background: #dc2626;
}
@media (max-width: 480px) {
    .custom-dialog-content {
        padding: 12px 20px;
    }
    .custom-dialog-buttons button {
        padding: 8px 16px;
    }
}