.sgz-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.sgz-dialog-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.sgz-dialog-box {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transform: translateY(8px) scale(0.98);
    transition: transform 0.2s ease;
}
.sgz-dialog-overlay.is-open .sgz-dialog-box {
    transform: translateY(0) scale(1);
}
.sgz-dialog-head {
    padding: 18px 20px 0;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
}
.sgz-dialog-body {
    padding: 12px 20px 20px;
    font-size: 14px;
    line-height: 1.65;
    color: #4b5563;
    word-break: break-word;
    white-space: pre-wrap;
}
.sgz-dialog-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 20px 18px;
}
.sgz-dialog-btn {
    min-width: 88px;
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.sgz-dialog-btn-cancel {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}
.sgz-dialog-btn-cancel:hover {
    background: #e5e7eb;
}
.sgz-dialog-btn-ok {
    background: #4f46e5;
    color: #fff;
}
.sgz-dialog-btn-ok:hover {
    background: #4338ca;
}
.sgz-dialog-btn-danger {
    background: #ef4444;
    color: #fff;
}
.sgz-dialog-btn-danger:hover {
    background: #dc2626;
}
