/* delete-guard.css — modal styling for the universal 2-step delete prompt. */

.dg-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, .75);
    backdrop-filter: blur(3px);
    z-index: 20000;
    display: flex; align-items: center; justify-content: center;
    animation: dg-fade .15s ease-out;
}
@keyframes dg-fade { from { opacity: 0; } to { opacity: 1; } }

.dg-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 32px 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
    text-align: center;
    max-width: 460px; width: 90vw;
    font-family: inherit;
}
.dg-icon  { font-size: 44px; line-height: 1; margin-bottom: 6px; }
.dg-title { font-size: 18px; font-weight: 700; color: #1d2330; margin: 4px 0 12px; }
.dg-target {
    color: #b91c1c;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 16px;
    background: #fee2e2;
    padding: 2px 8px;
    border-radius: 4px;
    word-break: break-all;
}
.dg-desc  { font-size: 13px; color: #6b7280; line-height: 1.5; margin: 0 0 14px; }
.dg-prompt { font-size: 13px; color: #1d2330; margin: 0 0 8px; }
.dg-prompt code {
    background: #f1f5f9;
    color: #1d4ed8;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 13px;
    font-weight: 600;
    word-break: break-all;
}
.dg-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e1e5ec;
    border-radius: 8px;
    font-size: 15px;
    font-family: ui-monospace, Consolas, monospace;
    text-align: center;
    margin: 6px 0 16px;
    background: #f8fafc;
    box-sizing: border-box;
}
.dg-input:focus {
    outline: none;
    border-color: #dc2626;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}
.dg-actions { display: flex; gap: 10px; justify-content: center; }
.dg-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-width: 120px;
    transition: background .12s, box-shadow .15s;
}
.dg-cancel  { background: #f1f5f9; color: #1d2330; border: 1px solid #e1e5ec; }
.dg-cancel:hover { background: #e2e8f0; }
.dg-confirm { background: #dc2626; color: #fff; box-shadow: 0 4px 12px rgba(220, 38, 38, .35); }
.dg-confirm:hover:not(:disabled) { background: #b91c1c; box-shadow: 0 6px 16px rgba(220, 38, 38, .45); }
.dg-confirm:disabled { background: #e5e7eb; color: #9ca3af; cursor: not-allowed; box-shadow: none; }
