/* Branded dialogs (batch 3) */
.vd-back { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; background: rgba(11, 31, 58, .55); padding: 16px; }
.vd-box { background: #fff; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 14px; border-top: 6px solid #F26B1D; box-shadow: 0 20px 50px rgba(0,0,0,.3); padding: 18px 20px 16px; font-family: inherit; }
.vd-box.vd-t-err { border-top-color: #b91c1c; } .vd-box.vd-t-ok { border-top-color: #15803d; } .vd-box.vd-t-warn { border-top-color: #d97706; } .vd-box.vd-t-info { border-top-color: #F26B1D; }
.vd-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.vd-head h3 { margin: 0; font-size: 18px; color: #0B1F3A; }
.vd-mark { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: #1D4ED8; }
.vd-t-err .vd-mark { background: #b91c1c; } .vd-t-ok .vd-mark { background: #15803d; } .vd-t-warn .vd-mark { background: #d97706; }
.vd-msg { font-size: 16px; line-height: 1.45; color: #1f2937; overflow-wrap: anywhere; }
.vd-input { width: 100%; box-sizing: border-box; margin-top: 12px; font-size: 16px; padding: 10px 12px; border: 1px solid #94a3b8; border-radius: 8px; }
.vd-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.vd-actions button { width: auto; min-width: 96px; min-height: 44px; margin: 0; padding: 10px 18px; font-size: 16px; font-weight: 700; border-radius: 10px; cursor: pointer; }
.vd-ok { background: #0B1F3A; color: #fff; border: 0; } .vd-ok.vd-danger { background: #b91c1c; }
.vd-cancel { background: #fff; color: #0B1F3A; border: 1px solid #94a3b8; }
.vd-actions button:focus-visible, .vd-input:focus-visible { outline: 3px solid #F26B1D; outline-offset: 2px; }
@media (max-width: 420px) { .vd-actions button { flex: 1 1 auto; } }
