/* ── Boost Mobile Brand Colors ───────────────────────────────────────────────
   Primary Yellow: #FFD300
   Black:          #000000
   White:          #FFFFFF
   Dark Gray:      #111111
   Mid Gray:       #333333
   Light Gray:     #F5F5F5
   Border:         #E0E0E0
   ─────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #F5F5F5;
  color: #111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Navbar ──────────────────────────────────────────────────────────────────*/
.navbar {
  background: #000;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand { display: flex; align-items: center; text-decoration: none; }

.navbar-logo { height: 36px; width: auto; }

.navbar-wordmark {
  color: #FFD300;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.navbar-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.navbar-links a:hover { color: #FFD300; }

.btn-nav {
  background: #FFD300 !important;
  color: #000 !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: opacity 0.15s !important;
}

.btn-nav:hover { opacity: 0.85; color: #000 !important; }

/* ── Buttons ─────────────────────────────────────────────────────────────────*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1;
}

.btn-primary {
  background: #FFD300;
  color: #000;
  border-color: #FFD300;
}
.btn-primary:hover { background: #e6be00; border-color: #e6be00; }

.btn-outline {
  background: transparent;
  color: #000;
  border-color: #000;
}
.btn-outline:hover { background: #000; color: #FFD300; }

.btn-ghost {
  background: transparent;
  color: #555;
  border-color: #ccc;
}
.btn-ghost:hover { background: #f0f0f0; border-color: #999; }

.btn-block { width: 100%; }

/* ── Hero Section ────────────────────────────────────────────────────────────*/
.hero {
  background: #000;
  color: #fff;
  padding: 80px 0;
}

.hero-content { max-width: 600px; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: #bbb;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Features ────────────────────────────────────────────────────────────────*/
.features { padding: 72px 0; }

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: transform 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: #555; font-size: 0.9rem; line-height: 1.6; }

/* ── CTA Section ─────────────────────────────────────────────────────────────*/
.cta-section { padding: 48px 0 72px; }

.cta-card {
  background: #FFD300;
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
}

.cta-card h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-card p { font-size: 1.05rem; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Page Header ─────────────────────────────────────────────────────────────*/
.page-header {
  background: #000;
  color: #fff;
  padding: 48px 0 40px;
  margin-bottom: 40px;
}

.page-header h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.page-header p { color: #aaa; font-size: 1rem; }

.page-header-secure { background: linear-gradient(135deg, #000 60%, #1a1200); }

.secure-badge {
  display: inline-block;
  background: #FFD300;
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

/* ── Login Choice ────────────────────────────────────────────────────────────*/
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.choice-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.choice-badge {
  display: inline-block;
  background: #FFD300;
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  width: fit-content;
}

.choice-badge-alt { background: #000; color: #FFD300; }

.choice-card h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.choice-card p { color: #555; margin-bottom: 20px; font-size: 0.95rem; line-height: 1.6; }

.choice-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.choice-features li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
  color: #333;
}
.choice-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD300;
  font-weight: 700;
}

.register-callout {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  margin-bottom: 40px;
  font-size: 0.95rem;
  color: #555;
  line-height: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.register-callout a { color: #000; font-weight: 600; }

/* ── Widget Page ─────────────────────────────────────────────────────────────*/
.widget-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px;
}

.widget-header { text-align: center; margin-bottom: 32px; }
.widget-header h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 8px; }
.widget-header p { color: #555; }

#okta-sign-in-widget { width: 100%; max-width: 440px; }

/* ── Account Page ────────────────────────────────────────────────────────────*/
.account-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 24px; border-bottom: 2px solid #FFD300; padding-bottom: 12px; }

.profile-form { max-width: 600px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.form-group input {
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s;
  color: #111;
}

.form-group input:focus {
  outline: none;
  border-color: #FFD300;
  box-shadow: 0 0 0 3px rgba(255, 211, 0, 0.15);
}

.input-readonly { background: #f8f8f8; color: #777; cursor: not-allowed; }

.form-group small { font-size: 0.78rem; color: #888; margin-top: 4px; }

.required { color: #c00; }

.factor-list { list-style: none; }
.factor-item {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}
.factor-item:last-child { border-bottom: none; }
.factor-type { font-weight: 600; flex: 1; }
.factor-provider { color: #777; flex: 1; }
.factor-status { font-size: 0.8rem; padding: 2px 10px; border-radius: 20px; background: #eee; }
.factor-status-active { background: #e6f7ee; color: #1a7a40; }
.factor-status-pending_activation { background: #fff3cd; color: #856404; }

.passkey-enrolled { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.passkey-icon { font-size: 2rem; }
.passkey-enrolled p { color: #555; font-size: 0.9rem; margin-top: 4px; }
.passkey-status { margin-top: 12px; font-size: 0.9rem; padding: 10px 14px; border-radius: 6px; background: #f5f5f5; }
.passkey-success { background: #e6f7ee; color: #1a7a40; }
.passkey-error { background: #fde8e8; color: #c00; }

.account-card-sensitive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  color: #fff;
}

.sensitive-info { display: flex; align-items: flex-start; gap: 16px; }
.lock-icon { font-size: 2rem; }
.account-card-sensitive .card-title { color: #FFD300; }
.account-card-sensitive p { color: #aaa; font-size: 0.9rem; }

/* ── Sensitive Data Page ─────────────────────────────────────────────────────*/
.sensitive-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  margin: 0 auto 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.sensitive-field { padding: 20px 0; }

.sensitive-field label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #777;
  display: block;
  margin-bottom: 8px;
}

.sensitive-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-family: 'Courier New', monospace;
}

.btn-toggle {
  background: #000;
  color: #FFD300;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-toggle:hover { opacity: 0.8; }

.sensitive-divider { height: 1px; background: #eee; margin: 4px 0; }

.back-link { text-align: center; margin-bottom: 40px; }

/* ── Registration Form ───────────────────────────────────────────────────────*/
.form-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  max-width: 560px;
  margin: 0 auto 48px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.form-footer { text-align: center; margin-top: 24px; font-size: 0.9rem; color: #555; }
.form-footer a { color: #000; font-weight: 600; }

.pw-hint { font-size: 0.8rem; margin-top: 4px; }
.pw-match { color: #1a7a40; }
.pw-no-match { color: #c00; }

/* ── Success & Error Cards ───────────────────────────────────────────────────*/
.success-card, .error-card {
  background: #fff;
  border-radius: 12px;
  padding: 56px 40px;
  max-width: 500px;
  margin: 64px auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.success-icon, .error-icon { font-size: 3rem; margin-bottom: 20px; }

.success-card h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.success-card p { color: #555; margin-bottom: 32px; line-height: 1.7; }
.success-actions, .error-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.error-card h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.error-card p { color: #555; margin-bottom: 20px; line-height: 1.6; }

.error-detail {
  text-align: left;
  background: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 24px;
  font-size: 0.78rem;
}
.error-detail pre { white-space: pre-wrap; word-break: break-all; color: #555; }

/* ── Alerts ──────────────────────────────────────────────────────────────────*/
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 500;
}
.alert-success { background: #e6f7ee; color: #1a7a40; border: 1px solid #b7e4c7; }
.alert-error { background: #fde8e8; color: #c00; border: 1px solid #f5b8b8; }

/* ── Utilities ───────────────────────────────────────────────────────────────*/
.text-muted { color: #888; font-size: 0.9rem; }

/* ── Footer ──────────────────────────────────────────────────────────────────*/
.footer {
  background: #111;
  color: #aaa;
  padding: 32px 0;
  margin-top: auto;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer p { font-size: 0.85rem; }

.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: #FFD300; }

/* ── Responsive ──────────────────────────────────────────────────────────────*/
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  .hero-actions { flex-direction: column; }
  .cta-card { padding: 36px 24px; }
  .account-card-sensitive { flex-direction: column; align-items: flex-start; }
  .form-card, .sensitive-card { padding: 28px 20px; }
  .choice-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
