/* ================================================================
   MaD Development — Auth / Signup / Portal CSS
   /public_html/assets/css/auth.css
   ================================================================ */

.auth-section {
  position: relative;
  z-index: 1;
  padding: 9rem 0 5rem;
  min-height: 80vh;
}

.auth-section-narrow { padding: 9rem 0 6rem; }

.auth-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.auth-wrap-narrow { max-width: 440px; }
.auth-wrap-wide   { max-width: 640px; }

.auth-head { text-align: center; margin-bottom: 2.5rem; }

.auth-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.auth-sub {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  opacity: 1;
  animation: none;
}

.auth-section .hero-eyebrow {
  text-align: center;
  opacity: 1;
  animation: none;
}

/* ─── Alert ─── */
.auth-alert {
  background: rgba(255, 90, 90, 0.1);
  border: 1px solid rgba(255, 90, 90, 0.35);
  color: #FF8A8A;
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ─── Form ─── */
.auth-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(74, 138, 255, 0.15);
  border-radius: 18px;
  padding: 2.5rem;
}

.auth-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
}

.auth-label .optional {
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
  font-family: 'Outfit', sans-serif;
}

.auth-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(74, 138, 255, 0.2);
  color: var(--white);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

.auth-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(74, 138, 255, 0.15);
}

.auth-input::placeholder { color: var(--muted); opacity: 0.7; }

.auth-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.auth-footer-link {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.auth-footer-link a {
  color: var(--blue-light);
  text-decoration: none;
}
.auth-footer-link a:hover { text-decoration: underline; }

/* ─── Plan Picker ─── */
.plan-picker-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  margin-bottom: 0.85rem;
}

.plan-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.plan-option {
  position: relative;
  display: block;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(74, 138, 255, 0.15);
  border-radius: 12px;
  padding: 1.25rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.plan-option:hover { border-color: rgba(74, 138, 255, 0.4); }

.plan-option.selected {
  border-color: var(--blue-light);
  background: rgba(15, 76, 219, 0.1);
  box-shadow: 0 0 24px rgba(15, 76, 219, 0.15);
}

.plan-option input[type="radio"] {
  position: absolute;
  top: 1rem;
  right: 1rem;
  accent-color: var(--blue-light);
  width: 16px;
  height: 16px;
}

.plan-option-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  padding-right: 1.5rem;
}

.plan-option-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--white);
}

.plan-option-badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--blue);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}

.plan-option-tagline {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-weight: 300;
}

.plan-option-price {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--blue-light);
  margin-bottom: 0.2rem;
}

.plan-option-price span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

.plan-option-setup {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0;
}

/* ─── Welcome / Portal ─── */
.welcome-plan-card {
  background: rgba(15, 76, 219, 0.08);
  border: 1.5px solid var(--blue);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.welcome-plan-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
}

.welcome-plan-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.welcome-plan-price {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

.welcome-plan-price span:first-of-type {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--muted);
}

.welcome-plan-setup {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.welcome-plan-status {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: #FFB347;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.welcome-next-steps h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.welcome-next-steps .check-list li i {
  color: var(--blue-light);
  font-size: 1.2rem;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .auth-section { padding: 7rem 0 3rem; }
  .auth-form { padding: 1.75rem 1.25rem; }
  .plan-picker { grid-template-columns: 1fr; }
}
