/*
 * Claim Co-Pilot Wizard Styles
 * Scoped to wizard surfaces only. Loads AFTER /styles.css so cascaded overrides are intentional.
 */

/* ---- Shell ---- */
.wizard-main {
  background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
  min-height: calc(100vh - 300px);
  padding: 3rem 1rem 4rem;
  color: #e8e6e1;
}

.wizard-shell {
  max-width: 820px;
  margin: 0 auto;
}

/* ---- Progress bar ---- */
.wizard-progress {
  margin-bottom: 2.5rem;
}

.wizard-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.55rem;
}

.wizard-progress-label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fbbf24;
  font-weight: 800;
}

.wizard-progress-pct {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #9ca3af;
  font-weight: 700;
}

.wizard-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 3px;
  transition: width 0.4s ease;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

/* ---- Heading ---- */
.wizard-heading {
  margin-bottom: 2.25rem;
}

.wizard-kicker {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  border-radius: 2px;
  margin: 0 0 1rem;
}

.wizard-heading h1 {
  font-family: 'Iowan Old Style', 'Palatino', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.wizard-sub {
  color: #d1d5db;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 62ch;
  margin: 0;
}

/* ---- Option cards ---- */
.wizard-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.wizard-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  text-decoration: none;
  color: #e8e6e1;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  cursor: pointer;
  position: relative;
}

.wizard-card.active:hover {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.06);
  transform: translateY(-1px);
}

.wizard-card.active:focus-visible {
  outline: none;
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25);
}

.wizard-card.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.015);
}

.wizard-card.disabled:hover {
  transform: none;
}

.wizard-card-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.1);
  border-radius: 4px;
  font-size: 1.4rem;
  color: #fbbf24;
}

.wizard-card.disabled .wizard-card-icon {
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
}

.wizard-card.bio .wizard-card-icon {
  background: rgba(220, 38, 38, 0.15);
  color: #f87171;
}

.wizard-card-body {
  flex: 1 1 auto;
  min-width: 0;
}

.wizard-card-body h2 {
  font-family: 'Iowan Old Style', Georgia, serif;
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.wizard-card-body p {
  color: #d1d5db;
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.wizard-card-body p a {
  color: #fbbf24;
  text-decoration: underline;
  font-weight: 600;
}

.wizard-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.wizard-card.active:hover .wizard-card-cta i {
  transform: translateX(3px);
}

.wizard-card-cta i {
  transition: transform 0.15s;
}

.wizard-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  font-family: system-ui, -apple-system, sans-serif;
}

.wizard-bio-alert {
  margin-top: 0.6rem;
  padding: 0.85rem 1rem;
  background: rgba(220, 38, 38, 0.12);
  border-left: 3px solid #dc2626;
  border-radius: 3px;
  font-size: 0.95rem;
  color: #fecaca;
  line-height: 1.5;
}

.wizard-bio-alert a {
  color: #fbbf24;
}

/* ---- Footer nav ---- */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.wizard-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  transition: border-color 0.15s, color 0.15s;
}

.wizard-back:hover {
  border-color: #fbbf24;
  color: #fbbf24;
}

.wizard-autosave {
  font-size: 0.82rem;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.wizard-autosave i {
  color: #fbbf24;
}

/* ---- Generic form inputs (future steps) ---- */
.wizard-field {
  margin-bottom: 1.5rem;
}

.wizard-field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fbbf24;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.wizard-field input[type="text"],
.wizard-field input[type="email"],
.wizard-field input[type="tel"],
.wizard-field input[type="datetime-local"],
.wizard-field input[type="number"],
.wizard-field select,
.wizard-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.wizard-field input:focus,
.wizard-field select:focus,
.wizard-field textarea:focus {
  outline: none;
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.wizard-field .wizard-help {
  font-size: 0.84rem;
  color: #9ca3af;
  margin-top: 0.4rem;
  line-height: 1.45;
}

.wizard-primary-btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  background: #fbbf24;
  color: #0a0a0a;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.wizard-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
  color: #0a0a0a;
}

.wizard-primary-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
  .wizard-main {
    padding: 2rem 1rem 3rem;
  }
  .wizard-heading h1 {
    font-size: 1.6rem;
  }
  .wizard-card {
    padding: 1.25rem 1.1rem;
    gap: 1rem;
  }
  .wizard-card-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .wizard-card-body h2 {
    font-size: 1.1rem;
  }
  .wizard-card-body p {
    font-size: 0.92rem;
  }
  .wizard-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .wizard-back {
    text-align: center;
    justify-content: center;
  }
  .wizard-autosave {
    justify-content: center;
  }
}
