/* In-page confirm / alert dialogs (#189) - see static/js/dialog.js. Self-contained so it looks right on every theme. */
.smr-dialog::backdrop { background: rgba(0, 0, 0, 0.62); }
.smr-dialog {
    width: calc(100% - 2rem); max-width: 440px; margin: auto; padding: 1.4rem 1.5rem 1.2rem;
    background: #1b1722; color: #f3f1f6; border: 1px solid #3a3446; border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); font-family: 'Barlow', 'Inter', system-ui, sans-serif;
}
.smr-dialog-title { margin: 0 0 0.6rem; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.01em; }
.smr-dialog-message { margin: 0 0 1.2rem; font-size: 1rem; line-height: 1.45; white-space: pre-line; }
.smr-dialog-actions { display: flex; justify-content: flex-end; gap: 0.6rem; flex-wrap: wrap; }
.smr-dialog-actions button {
    min-width: 5.5rem; padding: 0.5rem 1.1rem; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer;
    border: 1px solid transparent;
}
.smr-dialog-ok { background: #FF6B35; color: #fff; }
.smr-dialog-ok.danger { background: #c62f3b; }
.smr-dialog-cancel { background: transparent; color: #f3f1f6; border-color: #6b6478 !important; }
.smr-dialog-actions button:focus-visible { outline: 3px solid #9ecbff; outline-offset: 2px; }
