/* ============================================================
   HUSH — Wizard & Dashboard Styles
   Creation wizard and per-event Nomada Dashboard
   ============================================================ */

/* ===== Wizard Overlay ===== */
.wizard-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  height: 100dvh;
  background: var(--bg-base);
  z-index: 2000;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.wizard-overlay.visible { display: flex; }

.wizard-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

/* --- Wizard Header --- */
.wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  flex-shrink: 0;
}
.wizard-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.wizard-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.wizard-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.wizard-back-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.wizard-back-btn:hover { color: var(--text-primary); }
.wizard-back-btn svg { width: 20px; height: 20px; }

.wizard-save-exit-btn {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.wizard-save-exit-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.wizard-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.wizard-close-btn:hover { color: var(--text-primary); }

/* --- Progress Dots --- */
.wizard-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0.5rem 0 1.5rem;
  flex-shrink: 0;
}
.wizard-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  transition: all 0.3s ease;
}
.wizard-dot.active {
  background: var(--color-confirmed);
  transform: scale(1.2);
}
.wizard-dot.completed {
  background: var(--color-confirmed);
  opacity: 0.45;
}

/* --- Wizard Body --- */
.wizard-body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}
.wizard-body::-webkit-scrollbar { width: 4px; }
.wizard-body::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: 4px; }

/* --- Wizard Footer --- */
.wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}
.wizard-footer-single {
  justify-content: flex-end;
}

.wizard-btn-primary {
  background: var(--color-confirmed);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}
.wizard-btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.wizard-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.wizard-btn-secondary {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}
.wizard-btn-secondary:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* ===== Step Shared ===== */
.wizard-step {
  animation: wizardFadeIn 0.35s ease;
}
@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.wizard-subtext {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* --- Wizard Aside (80% note, tips) --- */
.wizard-aside {
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 1rem 0;
}
.wizard-aside strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ===== Step 1: Communication Intent (Multi-Select) ===== */
.wizard-select-all-row {
  max-width: 420px;
  margin: 0 auto 0.5rem;
}
.wizard-select-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 14px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.wizard-select-all-btn:hover { border-color: var(--color-confirmed); color: var(--text-primary); }
.wizard-select-all-btn.active { border-color: var(--color-confirmed); color: var(--color-confirmed); }

.wizard-intent-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}
.wizard-intent-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  text-align: left;
}
.wizard-intent-option:hover {
  border-color: var(--color-confirmed);
  background: var(--bg-hover);
}
.wizard-intent-option.selected {
  border-color: var(--color-confirmed);
  background: var(--color-confirmed-faint);
}

/* Checkbox indicator */
.wizard-check-box {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border-subtle);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.wizard-check-box.checked {
  background: var(--color-confirmed);
  border-color: var(--color-confirmed);
}
.wizard-check-box.checked::after {
  content: '\2713';
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.intent-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.intent-text {
  flex: 1;
  min-width: 0;
}
.intent-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}
.intent-sublabel {
  font-size: 0.68rem;
  color: var(--text-dim);
  line-height: 1.3;
}

/* ===== Step 2: Location ===== */
.wizard-map-wrapper {
  margin: 1rem 0;
}
.wizard-search-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.wizard-search-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--font-body);
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.wizard-search-input:focus {
  border-color: var(--color-confirmed);
}
.wizard-search-input::placeholder { color: var(--text-dim); }

.wizard-location-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wizard-location-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.wizard-location-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.wizard-map-container {
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.wizard-map-container .leaflet-container {
  height: 100%;
  width: 100%;
}

.wizard-location-confirm {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: var(--color-confirmed-faint);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--color-confirmed);
  font-weight: 500;
}
.wizard-location-confirm.hidden { display: none; }

/* ===== Step 3: When & How Many ===== */
.wizard-field-group {
  margin-bottom: 1.25rem;
}
.wizard-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wizard-field-row {
  display: flex;
  gap: 0.75rem;
}
.wizard-field-row > * {
  flex: 1;
}
.wizard-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--font-body);
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.wizard-input:focus { border-color: var(--color-confirmed); }
.wizard-input::placeholder { color: var(--text-dim); }

/* Select inputs: match the same styling */
select.wizard-input {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* Date and time inputs: make whole field tappable to open picker */
.wizard-input[type="date"],
.wizard-input[type="time"] {
  cursor: pointer;
  -webkit-appearance: none;
  position: relative;
}
/* Override the small native picker icon to fill the input area */
.wizard-input[type="date"]::-webkit-calendar-picker-indicator,
.wizard-input[type="time"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}

.wizard-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--font-body);
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
  resize: vertical;
  min-height: 72px;
  transition: border-color 0.2s;
  line-height: 1.5;
}
.wizard-textarea:focus { border-color: var(--color-confirmed); }
.wizard-textarea::placeholder { color: var(--text-dim); }

/* Stepper */
.wizard-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  width: fit-content;
}
.wizard-stepper-btn {
  background: var(--bg-muted);
  border: none;
  color: var(--text-primary);
  padding: 10px 16px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
  font-family: var(--font-body);
}
.wizard-stepper-btn:hover { background: var(--bg-hover); }
.wizard-stepper-value {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 60px;
  text-align: center;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

/* ===== Step 4: Finish & Review ===== */
.wizard-activity-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.wizard-activity-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: 1.5px solid var(--border-subtle);
  border-radius: 20px;
  background: var(--bg-card);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--text-secondary);
  transition: all 0.2s;
}
.wizard-activity-pill:hover {
  border-color: var(--color-confirmed);
  color: var(--text-primary);
}
.wizard-activity-pill.selected {
  border-color: var(--color-confirmed);
  background: var(--color-confirmed-faint);
  color: var(--color-confirmed);
}
.wizard-activity-emoji {
  font-size: 0.85rem;
}

.wizard-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--font-body);
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.wizard-section-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 1.5rem 0;
}

.wizard-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

/* ===== Step 5: Confirmation ===== */
.wizard-confirmation {
  text-align: center;
  padding: 1rem 0;
}
.wizard-confirm-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.wizard-confirm-subtext {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* Summary Card */
.wizard-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.wizard-summary-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.wizard-summary-row .summary-icon {
  color: var(--text-dim);
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.wizard-summary-row .summary-value {
  color: var(--text-primary);
  font-weight: 500;
}

/* ===== Share Message Tabs (used in Step 5 and Dashboard) ===== */
.share-section {
  text-align: left;
  margin-bottom: 1.5rem;
}
.share-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.share-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--bg-muted);
}
.share-tab {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.share-tab:hover { color: var(--text-primary); }
.share-tab.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.share-message-body {
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.78rem;
  line-height: 1.65;
  white-space: pre-wrap;
  color: var(--text-primary);
  max-height: 250px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
  font-family: var(--font-body);
}
.share-message-subject {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.72rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.share-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 0.75rem;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.share-copy-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.share-copy-btn.copied {
  background: var(--color-confirmed-faint);
  border-color: var(--color-confirmed);
  color: var(--color-confirmed);
}
.share-copy-btn svg { width: 14px; height: 14px; }

/* Confirmation CTAs */
.wizard-confirm-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.wizard-confirm-ctas .wizard-btn-primary { width: 100%; }
.wizard-confirm-ctas .wizard-btn-secondary { width: 100%; text-align: center; }

/* ===== Dashboard Overlay ===== */
.dashboard-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg-base);
  z-index: 2000;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}
.dashboard-overlay.visible { display: flex; }

.dashboard-container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: var(--bg-base);
  z-index: 10;
}
.dashboard-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.dashboard-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.dashboard-back-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.dashboard-back-btn:hover { color: var(--text-primary); }
.dashboard-back-btn svg { width: 20px; height: 20px; }
.dashboard-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.dashboard-close-btn:hover { color: var(--text-primary); }

.dashboard-body {
  flex: 1;
  padding: 1.5rem 0 3rem;
}

/* --- Dashboard Sections --- */
.dashboard-section {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
}
.dashboard-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
}
.dashboard-section-header:hover { background: var(--bg-hover); }
.dashboard-section-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dashboard-section-toggle {
  color: var(--text-dim);
  font-size: 0.75rem;
  transition: transform 0.2s;
}
.dashboard-section.expanded .dashboard-section-toggle { transform: rotate(180deg); }
.dashboard-section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.dashboard-section.expanded .dashboard-section-body {
  max-height: 2000px;
}
.dashboard-section-content {
  padding: 0 1.25rem 1.25rem;
}

/* Dashboard: Event Header (always visible, not collapsible) */
.dashboard-event-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
}
.dashboard-event-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.dashboard-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.dashboard-event-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dashboard-countdown {
  font-size: 0.78rem;
  color: var(--color-confirmed, #4caf50);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dashboard-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dashboard-status-badge.status-draft { background: var(--bg-muted); color: var(--text-dim); }
.dashboard-status-badge.status-rumored { background: var(--color-rumored-faint); color: var(--color-rumored); }
.dashboard-status-badge.status-detected { background: var(--color-detected-faint); color: var(--color-detected); }
.dashboard-status-badge.status-confirmed { background: var(--color-confirmed-faint); color: var(--color-confirmed); }
.dashboard-status-badge.status-past { background: var(--bg-muted); color: var(--color-past); }

.dashboard-quick-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.dashboard-action-btn {
  padding: 6px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}
.dashboard-action-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.dashboard-action-btn.danger {
  color: var(--red-alert);
  border-color: transparent;
}
.dashboard-action-btn.danger:hover {
  background: rgba(224, 64, 64, 0.08);
}

/* Dashboard: RSVP Section */
.dashboard-rsvp-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.dashboard-rsvp-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}
.dashboard-rsvp-track {
  flex: 1;
  height: 8px;
  background: var(--bg-muted);
  border-radius: 4px;
  overflow: hidden;
}
.dashboard-rsvp-fill {
  height: 100%;
  background: var(--color-confirmed);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.dashboard-rsvp-list {
  list-style: none;
  margin-top: 0.75rem;
}
.dashboard-rsvp-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
}
.dashboard-rsvp-item:last-child { border-bottom: none; }
.dashboard-rsvp-name { color: var(--text-primary); font-weight: 500; }
.dashboard-rsvp-status { color: var(--text-dim); font-size: 0.72rem; }
.dashboard-rsvp-status.yes { color: var(--color-confirmed); }
.dashboard-rsvp-status.maybe { color: var(--color-detected); }
.dashboard-rsvp-status.waitlist { color: var(--text-dim); }

.dashboard-copy-list-btn {
  margin-top: 0.75rem;
  padding: 6px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}
.dashboard-copy-list-btn:hover { background: var(--bg-hover); }

/* Dashboard: Help Section */
.dashboard-help-list {
  list-style: none;
}
.dashboard-help-link {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s;
}
.dashboard-help-link:last-child { border-bottom: none; }
.dashboard-help-link:hover { color: var(--color-confirmed); }

/* Dashboard: Regenerate */
.dashboard-regen-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 1rem;
  padding: 8px 16px;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.dashboard-regen-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* Dashboard: Refresh prompt */
.dashboard-refresh-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-confirmed-faint);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
}
.dashboard-refresh-prompt button {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-confirmed);
  background: none;
  color: var(--color-confirmed);
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  margin-left: 0.5rem;
}

/* Delete confirmation dialog */
.dashboard-delete-confirm {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dashboard-delete-dialog {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  max-width: 340px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.dashboard-delete-dialog h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.dashboard-delete-dialog p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.dashboard-delete-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
.dashboard-delete-actions button {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
}
.dashboard-delete-actions .cancel-btn {
  background: var(--bg-muted);
  color: var(--text-secondary);
}
.dashboard-delete-actions .delete-btn {
  background: var(--red-alert);
  color: #fff;
}

/* ===== Validation Error ===== */
.wizard-error {
  color: var(--red-alert);
  font-size: 0.72rem;
  margin-top: 0.3rem;
  display: none;
}
.wizard-error.visible { display: block; }

/* ===== Resources Section ===== */
.dashboard-resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.dashboard-resource-actions {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.dash-resource-edit-btn,
.dash-resource-delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.7rem;
  padding: 4px 6px;
  border-radius: 4px;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.dash-resource-edit-btn:hover,
.dash-resource-delete-btn:hover {
  opacity: 1;
  background: var(--bg-hover);
}
.dashboard-add-resource-btn {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 10px;
  background: transparent;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}
.dashboard-add-resource-btn:hover {
  border-color: var(--color-confirmed);
  color: var(--color-confirmed);
  background: var(--color-confirmed-faint);
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .wizard-container { padding: 0 1rem; }
  .wizard-heading { font-size: 1.15rem; }
  .wizard-map-container { height: 220px; }
  .wizard-intent-option { padding: 0.75rem 0.85rem; }
  .intent-icon { font-size: 1.2rem; }
  .wizard-search-row { flex-direction: column; }
  .wizard-location-btn { justify-content: center; }

  .dashboard-container { padding: 0 1rem; }
  .dashboard-quick-actions { flex-wrap: wrap; }
}
