/* File: tadaysWeb/src/tasks/features/common/dialog.css */
/* DIALOG -- the chrome every dialog shares: the dimmed backdrop, the panel,
   its heading, field labels, a title field and the actions row.
   Look matches the task box: 20px radius, soft shadow, rounded fields.
   The task box adds its own color wash on top (tasks/taskbox/taskbox.css);
   each dialog's own rules live with its feature. */

.backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.35);
  display: none; align-items: center; justify-content: center; z-index: 50;
}
.backdrop.open { display: flex; }

.panel {
  width: 330px; padding: 16px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 18px 44px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.35);
}
.panel h3 { margin: 0 0 12px; font-size: 15px; font-weight: 500; }

.panel-title-input {
  width: 100%; font: inherit; font-size: 14px; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px;
  background: var(--surface-alt); color: var(--text);
}
.panel-title-input:focus { outline: none; border-color: var(--text-muted); background: var(--surface); }

.field-label { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.panel-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; }
.note-wrap { position: relative; margin-bottom: 12px; }
