/* dz-delete-guard modal */
.dz-dg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.dz-dg-overlay.is-open {
    display: flex;
}

.dz-dg-modal {
    width: min(520px, calc(100vw - 32px));
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    overflow: hidden;
}

.dz-dg-header {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    font-weight: 700;
    text-align: center;
    font-size: xx-large;
}

.dz-dg-body {
    padding: 16px 18px;
    line-height: 1.35;
    white-space: pre-line;
    /* so \n renders nicely */
}

.dz-dg-footer {
    padding: 14px 18px;
    border-top: 1px solid rgba(0, 0, 0, .08);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.dz-dg-btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
}

.dz-dg-btn-cancel {
    background: #e9e9ee;
}

.dz-dg-btn-danger {
    background: #d0242f;
    color: #fff;
}