/**
 * bolt-auth.css — Premium Visual Identity & Novation Hosting-Inspired Split Layout
 * Left Column: Form & Access Panel (38%–42%)
 * Right Column: Cosmic Space Environment with 3D Planet & Nebulas (58%–62%)
 * Bolt Studio Compiler — High Performance C++20 Developer Environment
 */

:root {
  --bolt-bg-deep: #030712;
  --bolt-panel-bg: #050b18;
  --bolt-panel-bg-gradient: linear-gradient(180deg, #050b18 0%, #071226 100%);
  --bolt-panel-border: rgba(16, 200, 245, 0.14);
  --bolt-panel-glow: rgba(8, 124, 240, 0.15);
  --bolt-accent-blue: #087cf0;
  --bolt-accent-cyan: #10c8f5;
  --bolt-accent-cyan-glow: rgba(16, 200, 245, 0.45);
  --bolt-input-bg: rgba(13, 26, 49, 0.75);
  --bolt-input-border: rgba(16, 200, 245, 0.22);
  --bolt-input-focus: rgba(16, 200, 245, 0.65);
  --bolt-text-main: #f5f9ff;
  --bolt-text-muted: #8fa5c8;
  --bolt-text-subtle: #64748b;
  --bolt-error: #f43f5e;
  --bolt-success: #10b981;
}

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

body.bolt-auth-body {
  background-color: var(--bolt-bg-deep);
  color: var(--bolt-text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* =================================================================== */
/* SPLIT SCREEN LAYOUT (Novation Hosting Inspired)                     */
/* =================================================================== */
.bolt-split-layout {
  display: flex;
  width: 100vw;
  min-height: 100vh;
  position: relative;
}

/* ── ZONA IZQUIERDA: Panel del Formulario (~38% a 42%) ───────────── */
.bolt-auth-sidebar {
  width: clamp(420px, 40vw, 540px);
  flex-shrink: 0;
  min-height: 100vh;
  background: var(--bolt-panel-bg-gradient);
  border-right: 1px solid var(--bolt-panel-border);
  box-shadow: 12px 0 45px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 44px 32px;
  position: relative;
  z-index: 20;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom Scrollbar for Sidebar */
.bolt-auth-sidebar::-webkit-scrollbar {
  width: 6px;
}
.bolt-auth-sidebar::-webkit-scrollbar-track {
  background: rgba(3, 7, 18, 0.5);
}
.bolt-auth-sidebar::-webkit-scrollbar-thumb {
  background: rgba(16, 200, 245, 0.2);
  border-radius: 999px;
}
.bolt-auth-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 200, 245, 0.4);
}

.bolt-sidebar-inner {
  width: 100%;
  max-width: 440px;
  margin: auto 0;
}

/* ── ZONA DERECHA: Escenario Visual Espacial Cinematográfico (~60%) ── */
.bolt-stage-viewport {
  flex: 1;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #030712;
  background-image: url('/assets/login_cosmic_nebula.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Canvas de Profundidad y Partículas Estelares */
#ambient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Overlay Suave de Integración con el Formulario */
.bolt-stage-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(5, 11, 24, 0.75) 0%, rgba(5, 11, 24, 0.25) 20%, transparent 55%);
  pointer-events: none;
  z-index: 2;
}

/* =================================================================== */
/* BRAND HEADER & LOGO (HORIZONTALLY CENTERED)                         */
/* =================================================================== */
.bolt-brand-header {
  text-align: center;
  margin-bottom: 28px;
  animation: fadeInHeader 0.5s ease 0.15s both;
}

@keyframes fadeInHeader {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.bolt-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  position: relative;
}

/* Ambient Blue Halo behind official logo */
.bolt-logo-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(8, 124, 240, 0.32) 0%, rgba(16, 200, 245, 0.14) 45%, transparent 75%);
  filter: blur(16px);
  pointer-events: none;
  z-index: -1;
}

.bolt-official-logo {
  max-width: 310px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(8, 124, 240, 0.35));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bolt-official-logo:hover {
  transform: scale(1.015);
}

.bolt-auth-title {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 40%, #cde1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  text-shadow: 0 2px 14px rgba(8, 124, 240, 0.25);
}

.bolt-auth-subtitle {
  font-size: 13.5px;
  color: var(--bolt-text-muted);
  line-height: 1.5;
  font-weight: 400;
}

/* Subview Transitions */
.auth-subview {
  animation: fadeInView 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInView {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =================================================================== */
/* FORM INPUTS & GROUPS                                                */
/* =================================================================== */
.bolt-input-group {
  margin-bottom: 18px;
}

.bolt-input-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bolt-text-muted);
  margin-bottom: 7px;
}

.bolt-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bolt-input-bg);
  border: 1px solid var(--bolt-input-border);
  border-radius: 12px;
  transition: all 0.25s ease;
  overflow: hidden;
}

.bolt-input-box:focus-within {
  border-color: var(--bolt-accent-cyan);
  box-shadow: 0 0 0 3px rgba(16, 200, 245, 0.16), 0 0 16px rgba(16, 200, 245, 0.22);
  background: rgba(15, 30, 58, 0.88);
}

.bolt-input-icon {
  position: absolute;
  left: 14px;
  color: var(--bolt-text-subtle);
  font-size: 15px;
  pointer-events: none;
  transition: color 0.25s ease;
}

.bolt-input-box:focus-within .bolt-input-icon {
  color: var(--bolt-accent-cyan);
}

.bolt-input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 13px 14px 13px 42px;
  color: var(--bolt-text-main);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.bolt-input::placeholder {
  color: #4b5e7a;
}

.bolt-pwd-toggle-btn {
  background: transparent;
  border: none;
  color: var(--bolt-text-subtle);
  padding: 10px 14px;
  cursor: pointer;
  font-size: 15px;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bolt-pwd-toggle-btn:hover {
  color: var(--bolt-accent-cyan);
}

.bolt-input-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* =================================================================== */
/* OPTIONS ROW: RECORDAR MI SESIÓN & ¿OLVIDASTE TU CONTRASEÑA?         */
/* =================================================================== */
.bolt-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  margin-bottom: 22px;
  font-size: 13px;
}

/* Switch Animado para "Recordar mi sesión" */
.bolt-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.bolt-toggle-btn {
  position: relative;
  width: 44px;
  height: 24px;
  background: #172338;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  outline: none;
  flex-shrink: 0;
}

.bolt-toggle-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--bolt-bg-deep), 0 0 0 4px var(--bolt-accent-cyan);
}

.bolt-toggle-btn.active {
  background: linear-gradient(135deg, #087cf0 0%, #10c8f5 100%);
  border-color: rgba(16, 200, 245, 0.6);
  box-shadow: 0 0 14px rgba(16, 200, 245, 0.35);
}

.bolt-toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bolt-toggle-btn.active .bolt-toggle-slider {
  transform: translateX(20px);
}

.bolt-toggle-label {
  font-size: 13px;
  color: var(--bolt-text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.bolt-toggle-wrapper:hover .bolt-toggle-label {
  color: var(--bolt-text-main);
}

/* Links */
.bolt-auth-link {
  color: var(--bolt-accent-cyan);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s ease;
}

.bolt-auth-link:hover {
  color: #ffffff;
  text-shadow: 0 0 8px var(--bolt-accent-cyan-glow);
}

.bolt-auth-link:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 2px var(--bolt-accent-cyan);
}

.bolt-switch-view-row {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--bolt-text-muted);
}

.bolt-terms-row {
  margin: 12px 0 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--bolt-text-muted);
  line-height: 1.45;
}

.bolt-terms-row input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--bolt-accent-cyan);
  cursor: pointer;
}

/* =================================================================== */
/* BUTTONS: PRINCIPAL & CONTINUAR CON GOOGLE                          */
/* =================================================================== */
.bolt-btn-primary {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  background: linear-gradient(135deg, #087cf0 0%, #0052d4 50%, #10c8f5 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(8, 124, 240, 0.38), 0 0 16px rgba(16, 200, 245, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bolt-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: none;
}

.bolt-btn-primary:hover:not(:disabled)::after {
  left: 140%;
  transition: left 0.75s ease-in-out;
}

.bolt-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(8, 124, 240, 0.5), 0 0 24px rgba(16, 200, 245, 0.35);
  filter: brightness(1.08);
}

.bolt-btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.bolt-btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bolt-bg-deep), 0 0 0 4px var(--bolt-accent-cyan), 0 0 20px rgba(16, 200, 245, 0.4);
}

.bolt-btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

/* ── SEPARADOR VISUAL «O continúa con» ────────────────────────────── */
.bolt-auth-divider {
  display: flex;
  align-items: center;
  margin: 24px 0 20px;
  gap: 14px;
}

.bolt-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(16, 200, 245, 0.25) 50%, transparent 100%);
}

.bolt-divider-text {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bolt-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ── BOTÓN «CONTINUAR CON GOOGLE» ────────────────────────────────── */
.bolt-btn-google {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  background: rgba(13, 26, 49, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #f5f9ff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.bolt-btn-google:hover:not(:disabled) {
  background: rgba(20, 38, 70, 0.95);
  border-color: rgba(16, 200, 245, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(16, 200, 245, 0.2);
  transform: translateY(-1px);
}

.bolt-btn-google:active:not(:disabled) {
  transform: translateY(0);
}

.bolt-btn-google:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bolt-bg-deep), 0 0 0 4px var(--bolt-accent-cyan);
}

.bolt-btn-google:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

.bolt-google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.bolt-btn-secondary {
  width: 100%;
  padding: 11px 18px;
  background: rgba(15, 26, 52, 0.7);
  border: 1px solid var(--bolt-input-border);
  border-radius: 12px;
  color: var(--bolt-text-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.bolt-btn-secondary:hover {
  background: rgba(23, 37, 72, 0.9);
  color: var(--bolt-text-main);
  border-color: var(--bolt-accent-cyan);
}

/* =================================================================== */
/* ALERT BOXES & DISCREET NOTIFICATION CARDS                           */
/* =================================================================== */
.bolt-alert-box {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  animation: fadeInAlert 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInAlert {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.bolt-alert-icon-wrap {
  font-size: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bolt-alert-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bolt-alert-heading {
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.01em;
}

.bolt-alert-message {
  font-size: 12.5px;
  opacity: 0.92;
  line-height: 1.4;
}

.bolt-alert-error {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #fecdd3;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.15);
}

.bolt-alert-error .bolt-alert-icon-wrap {
  color: #fb7185;
}

.bolt-alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #a7f3d0;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.bolt-alert-success .bolt-alert-icon-wrap {
  color: #34d399;
}

.bolt-alert-info {
  background: rgba(16, 200, 245, 0.12);
  border: 1px solid rgba(16, 200, 245, 0.4);
  color: #bae6fd;
  box-shadow: 0 8px 24px rgba(16, 200, 245, 0.15);
}

.bolt-alert-info .bolt-alert-icon-wrap {
  color: #38bdf8;
}

/* =================================================================== */
/* 2FA WIZARD & MODAL CONTROLS                                         */
/* =================================================================== */
.bolt-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 200, 245, 0.12);
  border: 1px solid rgba(16, 200, 245, 0.28);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bolt-accent-cyan);
  margin-bottom: 14px;
}

.bolt-qr-card {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  width: 190px;
  height: 190px;
  margin: 14px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.bolt-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bolt-manual-secret-box {
  background: rgba(15, 26, 52, 0.8);
  border: 1px solid var(--bolt-input-border);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.bolt-secret-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--bolt-accent-cyan);
  user-select: all;
  word-break: break-all;
}

.bolt-copy-btn {
  background: transparent;
  border: 1px solid rgba(16, 200, 245, 0.3);
  border-radius: 6px;
  color: var(--bolt-accent-cyan);
  padding: 5px 9px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.bolt-copy-btn:hover {
  background: rgba(16, 200, 245, 0.18);
  color: #ffffff;
}

/* ── 2FA Security Badge & Halo ────────────────────────────── */
.bolt-2fa-security-badge {
  text-align: center;
  margin: 8px 0 24px;
}

.bolt-shield-halo {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 124, 240, 0.3) 0%, rgba(16, 200, 245, 0.1) 55%, transparent 75%);
  border: 1px solid rgba(16, 200, 245, 0.35);
  box-shadow: 0 0 24px rgba(8, 124, 240, 0.45), inset 0 0 14px rgba(16, 200, 245, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: shieldPulse 3.2s infinite ease-in-out;
}

.bolt-shield-halo i {
  font-size: 26px;
  color: var(--bolt-accent-cyan);
  filter: drop-shadow(0 0 10px rgba(16, 200, 245, 0.8));
}

@keyframes shieldPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(8, 124, 240, 0.35); }
  50% { transform: scale(1.06); box-shadow: 0 0 32px rgba(16, 200, 245, 0.7); }
}

.bolt-2fa-badge-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--bolt-text-main);
}

.bolt-2fa-badge-sub {
  font-size: 12px;
  color: var(--bolt-text-muted);
  margin-top: 5px;
  line-height: 1.5;
}

/* ── Split Digit Input Group (6 Digits) ───────────────────── */
.bolt-totp-split-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 18px 0 22px;
}

.bolt-totp-sep {
  font-size: 20px;
  font-weight: 700;
  color: var(--bolt-accent-cyan);
  opacity: 0.6;
  user-select: none;
  margin: 0 2px;
}

.bolt-totp-digit {
  width: 46px;
  height: 56px;
  background: var(--bolt-input-bg);
  border: 1.5px solid var(--bolt-input-border);
  border-radius: 10px;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bolt-totp-digit:focus {
  border-color: var(--bolt-accent-cyan);
  box-shadow: 0 0 0 3px rgba(16, 200, 245, 0.25), 0 0 16px rgba(16, 200, 245, 0.3);
  background: rgba(15, 26, 52, 0.95);
  transform: translateY(-2px);
}

.bolt-totp-timer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -10px 0 16px;
  font-size: 11.5px;
  color: var(--bolt-text-muted);
}

.bolt-totp-timer-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.bolt-totp-timer-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--bolt-accent-blue), var(--bolt-accent-cyan));
  border-radius: 999px;
  transition: width 1s linear;
}

.bolt-backup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(15, 26, 52, 0.6);
  border: 1px dashed rgba(16, 200, 245, 0.25);
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0 18px;
}

.bolt-backup-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: #e2e8f0;
  text-align: center;
  padding: 4px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

.bolt-policy-list {
  list-style: none;
  font-size: 12px;
  margin: 12px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bolt-policy-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--bolt-text-subtle);
  transition: color 0.2s ease;
}

.bolt-policy-item.valid {
  color: var(--bolt-success);
}

.bolt-policy-item.invalid {
  color: var(--bolt-text-subtle);
}

.bolt-back-row {
  margin-top: 20px;
  text-align: center;
}

/* =================================================================== */
/* EMAIL VERIFICATION BOX                                              */
/* =================================================================== */
.bolt-verify-state-box {
  text-align: center;
  padding: 10px 0;
}

.bolt-verify-icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(16, 200, 245, 0.12);
  border: 1px solid rgba(16, 200, 245, 0.3);
  color: var(--bolt-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 20px rgba(16, 200, 245, 0.25);
}

.bolt-email-highlight {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(13, 26, 49, 0.85);
  border: 1px solid rgba(16, 200, 245, 0.25);
  border-radius: 8px;
  color: var(--bolt-accent-cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  margin: 10px 0 16px;
}

/* =================================================================== */
/* SIDEBAR FOOTER & OFFICIAL COPYRIGHT 2026                            */
/* =================================================================== */
.bolt-sidebar-footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 200, 245, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bolt-copyright-text {
  font-size: 11.5px;
  color: var(--bolt-text-subtle);
  letter-spacing: 0.02em;
  text-align: center;
}

/* =================================================================== */
/* REDUCED MOTION OVERRIDE                                             */
/* =================================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =================================================================== */
/* RESPONSIVE ADAPTATION                                               */
/* =================================================================== */
@media (max-width: 1024px) {
  .bolt-split-layout {
    flex-direction: column;
  }
  .bolt-auth-sidebar {
    width: 100%;
    min-height: 100vh;
    border-right: none;
    box-shadow: none;
    padding: 36px 32px;
    align-items: center;
  }
  .bolt-sidebar-inner {
    margin: 0 auto;
  }
  .bolt-stage-viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    opacity: 0.28;
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .bolt-auth-sidebar {
    padding: 24px 18px;
  }
  .bolt-official-logo {
    max-width: 260px;
  }
  .bolt-auth-title {
    font-size: 20px;
  }
  .bolt-totp-digit {
    width: 38px;
    height: 48px;
    font-size: 20px;
  }
  .bolt-input-grid-2 {
    grid-template-columns: 1fr;
  }
}
