/* Dedicated Ultra-Lite Auth Page Stylesheet (Zero External Images) */
:root {
  --bg-page: #0b0f14;
  --bg-card: #131a23;
  --bg-input: #0c1118;
  --bg-soft: #1a2330;
  --border: #263244;
  --accent: #f5c518;
  --accent-dark: #d4a600;
  --green: #18d26e;
  --red: #ff4d5a;
  --amber: #ffaa2b;
  --text-main: #f2f5f9;
  --text-muted: #9aa7b8;
  --radius: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(circle at top center, #182232 0%, var(--bg-page) 62%);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

[hidden] {
  display: none !important;
}

.auth_shell {
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  padding: 14px 14px 36px;
}

/* Brand Top Bar */
.brand_bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.brand_mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff9d00 100%);
  color: #0b0f14;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(245, 197, 24, 0.28);
}

.brand_text {
  flex: 1;
  min-width: 0;
}

.brand_text strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: var(--text-main);
}

.brand_text span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home_pill {
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.home_pill:hover {
  border-color: var(--accent);
  text-decoration: none;
}

/* Catch-Line Slider Card */
.slide_card {
  background: linear-gradient(145deg, #16202e 0%, #101722 100%);
  border: 1px solid rgba(245, 197, 24, 0.28);
  border-radius: var(--radius);
  padding: 13px 14px 11px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.slide_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.slide_badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.7px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(24, 210, 110, 0.14);
  color: var(--green);
  border: 1px solid rgba(24, 210, 110, 0.35);
}

.slide_controls {
  display: flex;
  gap: 5px;
}

.slide_nav {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-main);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slide_nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.slide_title {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--accent);
  transition: opacity 0.22s ease;
}

.slide_desc {
  margin: 0 0 10px;
  font-size: 11.8px;
  color: #cdd7e5;
  min-height: 34px;
  transition: opacity 0.22s ease;
}

.slide_fading {
  opacity: 0.15;
}

.slide_progress {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.slide_progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--accent));
}

.slide_dots {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.slide_dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #334257;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slide_dot.active {
  width: 20px;
  border-radius: 8px;
  background: var(--accent);
}

/* Main Card */
.auth_card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px 15px 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

/* Mode Tabs */
.auth_tabs {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 6px;
  background: var(--bg-input);
  padding: 5px;
  border-radius: 13px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.auth_tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 6px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.auth_tab.active {
  background: var(--accent);
  color: #0b0f14;
  box-shadow: 0 2px 10px rgba(245, 197, 24, 0.3);
}

/* Alert Box */
.alert_box {
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 12px;
  border: 1px solid transparent;
}

.alert_box.err {
  background: rgba(255, 77, 90, 0.12);
  border-color: rgba(255, 77, 90, 0.45);
  color: #ffb3b8;
}

.alert_box.suc {
  background: rgba(24, 210, 110, 0.12);
  border-color: rgba(24, 210, 110, 0.45);
  color: #a7f3ca;
}

.alert_box.info {
  background: rgba(245, 197, 24, 0.12);
  border-color: rgba(245, 197, 24, 0.4);
  color: #fce797;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 4px;
}

.step_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
}

.step_item span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.step_item small {
  font-size: 10px;
  font-weight: 600;
}

.step_item.active span {
  background: var(--accent);
  color: #0b0f14;
  border-color: var(--accent);
}

.step_item.active small {
  color: var(--accent);
}

.step_item.done span {
  background: var(--green);
  color: #0b0f14;
  border-color: var(--green);
}

.step_line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 6px 14px;
}

/* Panel Headings */
.panel_head {
  margin-bottom: 14px;
}

.panel_head h1 {
  margin: 0 0 3px;
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
}

.panel_head p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* Form Controls */
.field_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field_group {
  margin-bottom: 12px;
  text-align: left;
}

.field_group label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #d6dfeb;
  margin-bottom: 5px;
}

.field_group label b {
  color: var(--red);
}

.opt_tag {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 3px;
}

.field_group input {
  width: 100%;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field_group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.14);
}

.field_group input[readonly] {
  opacity: 0.72;
  background: #10151d;
  border-style: dashed;
}

.field_group input.inp_err {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 77, 90, 0.16);
}

.field_hint {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--text-muted);
}

/* Password Eye Toggle */
.pw_wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pw_wrap input {
  padding-right: 52px;
}

.pw_toggle {
  position: absolute;
  right: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 7px;
  cursor: pointer;
}

.pw_toggle:hover {
  color: var(--text-main);
  border-color: var(--accent);
}

/* Password Strength Meter */
.strength_track {
  width: 100%;
  height: 4px;
  background: var(--bg-soft);
  border-radius: 4px;
  margin-top: 6px;
  overflow: hidden;
}

.strength_track i {
  display: block;
  height: 100%;
  width: 0%;
  transition: width 0.25s ease, background 0.25s ease;
}

/* Callout Notices */
.notice_warn, .notice_info, .resume_pill {
  padding: 10px 11px;
  border-radius: 11px;
  font-size: 11.3px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.notice_warn {
  background: rgba(255, 170, 43, 0.11);
  border: 1px dashed rgba(255, 170, 43, 0.5);
  color: #ffd594;
}

.notice_info {
  background: rgba(24, 210, 110, 0.09);
  border: 1px dashed rgba(24, 210, 110, 0.42);
  color: #bbf3d4;
}

.resume_pill {
  background: rgba(245, 197, 24, 0.13);
  border: 1px solid rgba(245, 197, 24, 0.45);
  color: #fde99e;
}

.masked_chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 11px;
  margin-bottom: 12px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.masked_chip strong {
  color: var(--green);
  letter-spacing: 0.4px;
}

/* Checkbox */
.chk_box {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 9px 10px;
  margin-bottom: 14px;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
}

.chk_box input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--green);
  flex-shrink: 0;
}

/* Buttons */
.btn_primary, .btn_ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.12s ease, opacity 0.16s ease, background 0.16s ease;
}

.btn_primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ffb700 100%);
  color: #0b0f14;
  box-shadow: 0 6px 18px rgba(245, 197, 24, 0.25);
}

.btn_primary:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn_primary:active {
  transform: scale(0.99);
}

.btn_ghost {
  background: var(--bg-soft);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn_ghost:hover {
  border-color: var(--accent);
}

.btn_row {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 8px;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Pure CSS Button Spinner */
.btn_spin {
  display: none;
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(11, 15, 20, 0.25);
  border-top-color: #0b0f14;
  border-radius: 50%;
  animation: authSpin 0.65s linear infinite;
}

button.loading .btn_spin {
  display: inline-block;
}

@keyframes authSpin {
  to { transform: rotate(360deg); }
}

.inline_meta {
  text-align: right;
  margin: -4px 0 14px;
  font-size: 11.5px;
}

.switch_link {
  text-align: center;
  margin: 14px 0 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.otp_resend_bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.link_btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.link_btn:disabled {
  color: var(--text-muted);
}

/* Success Screen */
.success_card {
  text-align: center;
  padding: 8px 2px;
}

.success_check {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(24, 210, 110, 0.16);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 26px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success_card h2 {
  margin: 0 0 4px;
  font-size: 19px;
  color: var(--green);
}

.success_card p {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.safety_checklist {
  text-align: left;
  background: var(--bg-input);
  border: 1px solid rgba(24, 210, 110, 0.35);
  border-radius: 12px;
  padding: 11px;
  margin-bottom: 14px;
  font-size: 11.5px;
  color: #d6e2ef;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Footer */
.auth_footer {
  text-align: center;
  margin-top: 16px;
  color: var(--text-muted);
}

.trust_pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.trust_pills span {
  font-size: 10.5px;
  padding: 4px 9px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #c7d3e3;
}

.auth_footer p {
  margin: 0 0 4px;
  font-size: 11.5px;
}

.auth_footer small {
  font-size: 10.5px;
  opacity: 0.75;
}

/* Footer Verification & Security Badges */
.auth_badges_strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 14px;
}

.auth_badge_tile {
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.auth_badge_tile img {
  max-height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.auth_badge_tile span {
  font-size: 9.5px;
  font-weight: 700;
  color: #1c2735;
  line-height: 1.2;
}












/* Mobile Tight Fit */
@media (max-width: 390px) {
  .auth_shell {
    padding: 10px 10px 28px;
  }
  .field_row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .btn_row {
    grid-template-columns: 1fr;
  }
  .auth_tab {
    font-size: 11px;
    padding: 8px 4px;
  }
}


@media (max-width: 360px) {
  .auth_badges_strip {
    grid-template-columns: 1fr;
  }
}