/*
 * auth.css — IndustryIO authentication page
 * Covers: shell, hero, login panel, reset states, wizard
 * No framework dependency — Bootstrap 5.3 is loaded separately by the page.
 */

/* ── Reset / base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left,     #A8DFFD, transparent 55%),
    radial-gradient(circle at bottom right, #20425E, transparent 55%),
    linear-gradient(135deg, #A8DFFD 0%, #4E8EC7 40%, #20425E 100%);
  min-height: 100vh;
}

/* ── Auth shell (glassmorphism) ───────────────────────────────────────────── */
.auth-shell {
  max-width: 1400px;
  margin: 32px auto;
  padding: 28px;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(22px);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .35);
}

/* ── Tab switcher ─────────────────────────────────────────────────────────── */
.auth-tabs {
  width: 340px;
  margin: 0 auto 28px;
  position: relative;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 4px;
  display: flex;
}

.auth-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 10px 0;
  font-weight: 650;
  z-index: 2;
  cursor: pointer;
  color: #334155;
  transition: color .2s;
}
.auth-tab.active { color: #0f172a; }

#auth-slider {
  position: absolute;
  inset: 4px auto 4px 4px;
  width: calc(50% - 4px);
  background: #fff;
  border-radius: 999px;
  transition: transform .25s ease;
  z-index: 1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
}

/* ── Panel base ───────────────────────────────────────────────────────────── */
.auth-row > [class^="col-"] { display: flex; }

.panel {
  width: 100%;
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .15);
}

/* ── Hero panel ───────────────────────────────────────────────────────────── */
.hero-panel {
  background: linear-gradient(135deg, #20425e, #0f172a);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 520px;
}

.hero-top img { height: 36px; width: auto; max-width: 100%; object-fit: contain; }

.hero-panel--pumpkintime .hero-top img { height: 40px; }

.hero-panel--broadway-express {
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
}

.hero-panel--broadway-express .hero-top img { height: 40px; max-width: 320px; }

.hero-panel--industryio .hero-top--platform-mark {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, .94);
  padding: 10px 18px;
  border-radius: 14px;
  width: fit-content;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.hero-panel--industryio .hero-top img { height: 44px; max-width: 300px; }

.hero-body { display: flex; flex-direction: column; gap: 14px; }

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.15;
}

.hero-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  max-width: 52ch;
  line-height: 1.5;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.hero-metric {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
  padding: 12px;
}

.hero-metric-value {
  font-weight: 800;
  margin-bottom: 2px;
}

.hero-metric-label {
  font-size: .875rem;
  color: rgba(255, 255, 255, .72);
}

.hero-footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pill {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .9rem;
}

/* ── Login panel ──────────────────────────────────────────────────────────── */
.login-panel { max-width: 420px; margin: auto; }

.panel-logo {
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  object-fit: contain;
}

.auth-brand-mark--dark {
  background: linear-gradient(135deg, #20425e, #0f172a);
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-brand-mark--panel {
  margin: -32px -32px 20px;
  padding: 20px 32px;
  border-radius: 22px 22px 0 0;
}

.auth-brand-mark--panel .panel-logo {
  margin: 0;
  height: 40px;
  width: auto;
  max-width: 260px;
}

.auth-brand-mark--wizard {
  padding: 8px 12px;
  border-radius: 12px;
  flex-shrink: 0;
}

.auth-brand-mark--wizard .wizard-logo {
  height: 28px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.login-panel--platform .panel-logo {
  max-width: 260px;
}

.login-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.login-subtitle {
  text-align: center;
  color: #64748b;
  margin: 0 0 20px;
  font-size: .9rem;
}

/* ── Primary auth button ──────────────────────────────────────────────────── */
.btn-primary-auth {
  width: 100%;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #4e8ec7, #20425e);
  color: #fff;
  padding: 12px 16px;
  font-size: .9375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: filter .2s, opacity .2s;
}
.btn-primary-auth:hover:not(:disabled) { filter: brightness(1.08); }
.btn-primary-auth:disabled { opacity: .65; cursor: not-allowed; }

/* ── Auth links / footnotes ───────────────────────────────────────────────── */
.auth-link { color: #4e8ec7; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }

.auth-footnote {
  text-align: center;
  font-size: .85rem;
  color: #64748b;
}
.auth-footnote a { color: #4e8ec7; text-decoration: none; }
.auth-footnote a:hover { text-decoration: underline; }

/* ── Auth inline alerts ───────────────────────────────────────────────────── */
.alert-auth {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .875rem;
  margin-bottom: 16px;
}
.alert-auth-danger  { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert-auth-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }
.alert-auth-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #2563eb; }

/* ── Auth state machine ───────────────────────────────────────────────────── */
.auth-state-container { position: relative; }

.auth-state { display: none; }

.auth-state.active {
  display: block;
  animation: fadeInSlide .3s ease;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Reset panel ──────────────────────────────────────────────────────────── */
.reset-panel { max-width: 420px; margin: auto; }

.auth-state-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  text-decoration: none;
  font-size: .875rem;
  transition: color .2s;
}
.auth-state-back:hover { color: #20425e; }

/* ── Reset progress steps ─────────────────────────────────────────────────── */
.reset-progress {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 18px 0 26px;
  position: relative;
}
.reset-progress::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}
.reset-progress-step { text-align: center; flex: 1; z-index: 1; }

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-weight: 600;
  font-size: .875rem;
}
.reset-progress-step.active  .step-circle { background: #20425e; color: #fff; border-color: #20425e; }
.reset-progress-step.complete .step-circle { background: #22c55e; color: #fff; border-color: #22c55e; }

.step-label { font-size: .72rem; color: #94a3b8; }
.reset-progress-step.active .step-label,
.reset-progress-step.complete .step-label { color: #1e293b; font-weight: 600; }

/* ── 6-digit code input ───────────────────────────────────────────────────── */
.code-input {
  font-size: 1.75rem !important;
  letter-spacing: .5rem !important;
  text-align: center !important;
  font-weight: 700 !important;
}

/* ── Wizard ───────────────────────────────────────────────────────────────── */
.wizard-panel { display: flex; flex-direction: column; gap: 20px; }
/* ── Wizard ───────────────────────────────────────────────────────────────── */
.wizard-panel { display: flex; flex-direction: column; gap: 20px; }

/* Facts rail */
.wizard-facts-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  font-size: .8rem;
}
.wf-row { display: flex; align-items: baseline; gap: 5px; }
.wf-label { color: #15803d; font-weight: 600; white-space: nowrap; }
.wf-label::after { content: ':'; }
.wf-value { color: #1f2937; }

/* Postal-locked fields */
.wizard-panel .form-control[readonly] {
  background-color: #f3f4f6;
  color: #374151;
  cursor: not-allowed;
  border-color: #d1d5db;
}

.wizard-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.wizard-logo { height: 34px; width: auto; object-fit: contain; max-width: 220px; }
.wizard-title { font-size: 1.1rem; font-weight: 700; color: #111827; margin-bottom: 2px; }
.wizard-subtitle { font-size: .8rem; color: #6b7280; }

/* Step tabs */
.wizard-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .08);
}

.wizard-step {
  border: 1px solid rgba(15, 23, 42, .12);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .8125rem;
  font-weight: 600;
  cursor: default;
  transition: background .2s, color .2s, border-color .2s;
}
.wizard-step.active { background: #20425e; border-color: #20425e; color: #fff; }
.wizard-step.done   { background: #f0fdf4; border-color: #86efac; color: #16a34a; }

/* Wizard pages */
.wizard-pages {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  padding: 24px;
}
.wizard-page { display: none; }
.wizard-page.active { display: block; animation: fadeInSlide .25s ease; }

.wizard-actions {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ── Plan type sections ─────────────────────────────────────────────────────── */
.plan-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  width: 100%;
}
.plan-cards-grid .plan-type-heading {
  grid-column: 1 / -1;
  margin: .5rem 0 0;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
  padding-bottom: .5rem;
  border-bottom: 1px solid #e5e7eb;
}
.plan-cards-grid .plan-type-heading:first-child {
  margin-top: 0;
}

/* ── Plan cards ───────────────────────────────────────────────────────────── */
.plan-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  border: 2px solid rgba(0, 0, 0, .08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 16px rgba(0, 0, 0, .07);
  cursor: pointer;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.plan-card:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.10), 0 12px 28px rgba(0,0,0,.12); }
.plan-card.selected { border-color: #4e8ec7; box-shadow: 0 0 0 3px rgba(78,142,199,.2), 0 10px 28px rgba(0,0,0,.12); }
.plan-card.featured { border-color: #f59e0b; }

.plan-card-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.plan-card-name { font-size: 1rem; font-weight: 700; color: #111827; }
.plan-card-desc { color: #64748b; font-size: .8125rem; margin-top: 4px; line-height: 1.4; }

.plan-card-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 10px 0;
}
.plan-card-price--hint {
  font-size: 1.125rem;
  font-weight: 700;
  color: #334155;
}
.plan-card-price-note {
  display: block;
  margin-top: 2px;
  font-size: .75rem;
  font-weight: 600;
  color: #64748b;
}
.plan-card-price small { font-size: .875rem; font-weight: 400; color: #64748b; }

/* ── IndustryIO platform licensure (SaaS tiers) ─────────────────────────── */
.io-signup-intro {
  text-align: center;
  margin-bottom: 1.75rem;
}
.io-signup-logo {
  display: block;
  width: auto;
  max-width: 200px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 1rem;
}
.io-signup-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 .35rem;
  letter-spacing: -.02em;
}
.io-signup-lead {
  color: #64748b;
  font-size: .9375rem;
  margin: 0;
}

.io-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: .5rem;
}

.io-tier-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
}
.io-tier-card:hover:not(.io-tier-card--disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, .08), 0 16px 32px rgba(15, 23, 42, .08);
}
.io-tier-card.selected {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12), 0 12px 28px rgba(15, 23, 42, .08);
}
.io-tier-card--featured {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff 0%, #fffbfb 100%);
}
.io-tier-card--disabled {
  opacity: .72;
}

.io-tier-badge {
  align-self: flex-start;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: #fef2f2;
  color: #b91c1c;
}
.io-tier-badge--muted {
  background: #f1f5f9;
  color: #64748b;
}

.io-tier-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.io-tier-tagline {
  font-size: .8125rem;
  color: #64748b;
  margin: -.25rem 0 0;
  line-height: 1.4;
}
.io-tier-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin: .15rem 0 0;
}
.io-tier-price small {
  font-size: .8125rem;
  font-weight: 500;
  color: #64748b;
}

.io-tier-features {
  list-style: none;
  margin: .35rem 0 0;
  padding: 0;
  flex: 1;
}
.io-tier-features li {
  position: relative;
  padding: .28rem 0 .28rem 1.25rem;
  font-size: .8125rem;
  color: #334155;
  line-height: 1.35;
}
.io-tier-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55rem;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #dc2626;
  opacity: .85;
}

.io-tier-select {
  margin-top: .5rem;
  width: 100%;
  border-radius: 10px;
  font-weight: 600;
  padding: .55rem 1rem;
}

.io-signup-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.75rem 0 1.25rem;
  color: #94a3b8;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.io-signup-divider::before,
.io-signup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.io-hosted-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
}

.signup-path-card .io-hosted-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 36px;
  margin-bottom: .65rem;
}
.signup-path-card .io-hosted-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 32px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.io-hosted-profile {
  margin-top: .5rem;
}
.io-hosted-tagline {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 600;
  font-style: italic;
  color: #475569;
}
.io-hosted-bullets {
  margin: 0 0 .4rem;
  padding-left: 1.1rem;
  font-size: .75rem;
  line-height: 1.4;
  color: #64748b;
}
.io-hosted-audience,
.io-hosted-pricing-summary,
.io-hosted-join {
  margin: 0 0 .25rem;
  font-size: .72rem;
  line-height: 1.4;
  color: #64748b;
}
.io-hosted-audience span,
.io-hosted-join {
  font-weight: 600;
}

.plan-card.featured.io-tier-card--featured,
.plan-card.featured:not(.io-tier-card) { border-color: #f59e0b; }
.plan-card.selected:not(.io-tier-card) { border-color: #4e8ec7; }
.io-tier-card.selected { border-color: #dc2626; }

.plan-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 5px;
  font-size: .8125rem;
  color: #374151;
}
.plan-features li::before {
  content: "✓";
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Billing toggle ───────────────────────────────────────────────────────── */
.billing-toggle {
  display: inline-flex;
  position: relative;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 4px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
}
.billing-btn {
  position: relative;
  z-index: 2;
  border: none;
  background: transparent;
  padding: 8px 20px;
  font-size: .875rem;
  font-weight: 600;
  color: #475569;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s;
  white-space: nowrap;
}
.billing-btn.active { color: #0f172a; }
.billing-toggle::before {
  content: '';
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .12);
  transition: transform .25s ease;
  z-index: 1;
}
.billing-toggle:has(.billing-btn[data-cycle="annual"].active)::before {
  transform: translateX(100%);
}

/* ── Review summary ───────────────────────────────────────────────────────── */
.review-summary { display: flex; flex-direction: column; gap: 10px; }

.review-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, .06);
  gap: 16px;
}
.review-label {
  font-size: .75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  flex-shrink: 0;
}
.review-value { font-size: .875rem; color: #1e293b; text-align: right; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  #hero-col { display: none !important; }
  .auth-shell { margin: 16px; padding: 18px; }
  .auth-tabs  { width: 100%; }
}

@media (max-width: 575.98px) {
  .billing-btn { padding: 8px 14px; font-size: .8rem; }
  .hero-metrics { grid-template-columns: 1fr; }
  .wizard-pages { padding: 16px; }
}

/* ── Standalone auth pages (activate, join) ──────────────────────────────── */
.auth-standalone {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.auth-card {
  background: rgba(255, 255, 255, .96);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .18);
  padding: 40px;
  max-width: 520px;
  width: 100%;
}

.auth-card-logo {
  display: block;
  height: 44px;
  margin: 0 auto 28px;
}

.auth-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.auth-card-sub {
  color: #64748b;
  font-size: .9375rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.auth-status-icon { font-size: 3rem; margin-bottom: 16px; }
.auth-status-icon.ok { color: #22c55e; }
.auth-status-icon.fail { color: #ef4444; }

.auth-btn-primary {
  display: inline-block;
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #ea6c00, #d45f00);
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: opacity .15s;
}
.auth-btn-primary:hover { opacity: .92; color: #fff; }
.auth-btn-primary:disabled { opacity: .55; cursor: not-allowed; }

.auth-btn-ghost {
  display: inline-block;
  width: 100%;
  padding: 13px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: #374151;
  text-align: center;
  text-decoration: none;
  margin-top: 8px;
}

.join-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.join-badge.guardian { background: #fef3c7; color: #92400e; }

.join-inviter { color: #64748b; font-size: 14px; margin-bottom: 4px; }
.join-headline { font-size: 22px; font-weight: 700; color: #0f172a; margin-bottom: 6px; line-height: 1.3; }
.join-subtext { color: #475569; font-size: 15px; margin-bottom: 28px; }
.join-divider { border-color: #e2e8f0; margin: 24px 0; }

.join-tab-row {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}
.join-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: #f8fafc;
  color: #64748b;
  border: none;
  transition: background .15s, color .15s;
}
.join-tab.active { background: #fff; color: #0f172a; }
.join-tab:first-child { border-right: 1px solid #e2e8f0; }

.join-label { font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 4px; display: block; }
.join-input {
  width: 100%;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  background: #f9fafb;
}
.join-input:focus { outline: none; border-color: #3b82f6; background: #fff; }

.join-expiry { font-size: 12px; color: #94a3b8; text-align: center; margin-top: 16px; }
.join-switch {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin-top: 12px;
}
.join-switch button {
  background: none;
  border: none;
  padding: 0;
  color: #3b82f6;
  font-weight: 600;
  cursor: pointer;
}
