/* ============================================================
   WIZARD STYLES — admin.html 7-step registration wizard
   Extends style.css, does not replace it.
   ============================================================ */

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #0052cc;
  color: #fff;
  padding: 0.75rem 1.5rem;
  margin: -2rem -2rem 1.5rem;
}
.topbar .logo {
  font-size: 1.4rem;
  font-weight: 900;
  background: #fff;
  color: #0052cc;
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar h1 { font-size: 1rem; margin: 0; flex: 1; }
.topbar .session-info { font-size: 0.8rem; opacity: 0.85; margin-right: 0.5rem; }
.topbar .btn-signout {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}
.topbar .btn-signout:hover { background: rgba(255,255,255,0.35); }

/* Progress pips */
.steps {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.step-pip {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #e8edf3;
  color: #666;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.step-pip.active  { background: #0052cc; color: #fff; }
.step-pip.done    { background: #e3f5ea; color: #1b6e2c; }

/* Banner */
.banner {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  background: #e3f5ea;
  color: #1b6e2c;
  font-weight: 600;
}
.banner.error { background: #fcebeb; color: #a32d2d; }
.hidden { display: none !important; }

/* Wizard sections */
.wizard-step { display: none; }
.wizard-step.active { display: block; }

.section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0052cc;
  margin: 0 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #e8edf3;
}

/* Responsive two-column grid */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.2rem;
}
.field { display: flex; flex-direction: column; gap: 0.25rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: #444; }
.field input, .field select, .field textarea {
  padding: 0.45rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  background: #fff;
}
.field input[readonly] { background: #f4f6f8; color: #666; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #0052cc;
  box-shadow: 0 0 0 2px rgba(0,82,204,0.15);
}
.req { color: #de350b; }
.hint { font-size: 0.78rem; color: #888; margin-top: 2px; }

/* Checkbox row */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.checkbox-row input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; }

/* Wizard nav buttons */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e8edf3;
}
.btn { padding: 0.55rem 1.3rem; background: #0052cc; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-weight: 700; font-size: 0.95rem; }
.btn:hover { background: #003d99; }
.btn.secondary { background: #e8edf3; color: #333; }
.btn.secondary:hover { background: #d0d8e4; }

@media (max-width: 540px) {
  .grid { grid-template-columns: 1fr; }
  .topbar h1 { font-size: 0.85rem; }
  .steps { gap: 0.3rem; }
  .step-pip { font-size: 0.72rem; padding: 0.3rem 0.55rem; }
}
