/* The one confirmation and notice box (resources/views/partials/wt-dialog.blade.php): replaces confirm() and alert(). */
.wt-dlg-back{position:fixed;inset:0;z-index:var(--wt-z-modal);display:none;align-items:center;justify-content:center;padding:var(--wt-space-4);background:var(--wt-color-scrim)}
.wt-dlg-back.on{display:flex}
.wt-dlg{width:min(440px,100%);background:var(--wt-color-surface);color:var(--wt-color-text);border:var(--wt-border-width) solid var(--wt-color-border);border-radius:var(--wt-radius-xl);box-shadow:var(--wt-shadow-3);overflow:hidden;font-family:var(--wt-font-sans)}
.wt-dlg-h{display:flex;align-items:center;gap:10px;padding:18px 22px 0;font-weight:700;font-size:1.05rem}
.wt-dlg-h i{width:30px;height:30px;border-radius:50%;background:var(--wt-color-action-tint);color:var(--wt-color-action-text);display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-weight:700}
.wt-dlg-b{padding:10px 22px 18px;color:var(--wt-color-text-2);line-height:1.5;font-size:.95rem;white-space:pre-line;overflow-wrap:anywhere}
.wt-dlg-f{display:flex;justify-content:flex-end;gap:8px;padding:12px 22px;background:var(--wt-color-surface-sunken);border-top:var(--wt-border-width) solid var(--wt-color-border)}
.wt-dlg-f button{min-height:44px;border-radius:var(--wt-radius-md);padding:8px 18px;font-weight:600;border:var(--wt-border-width) solid var(--wt-color-border-strong);background:var(--wt-color-surface);color:var(--wt-color-text);cursor:pointer}
.wt-dlg-f button.ok{background:var(--wt-color-action);border-color:var(--wt-color-action);color:var(--wt-color-on-action)}
.wt-dlg-f button.ok:hover{background:var(--wt-color-action-hover);border-color:var(--wt-color-action-hover)}
.wt-dlg-f button:focus-visible{outline:none;box-shadow:var(--wt-focus-ring)}
