/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  font-family: 'Inter', sans-serif;
}

input {
  font-family: 'Inter', sans-serif;
}

/* ─────────────────────────────────────────────
   LAYOUT — full-bleed split screen
───────────────────────────────────────────── */
.app {
  display: flex;
  /* 100% rather than 100vw: 100vw ignores the vertical scrollbar and
     produces a spurious horizontal scrollbar on taller viewports. */
  width: 100%;
  min-height: 100vh;
}

/* ─────────────────────────────────────────────
   LEFT PANEL — #111827 dark
───────────────────────────────────────────── */
.left-panel {
  flex: 0 0 52%;
  background: #111827;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Decorative: top-right concentric rings ── */
.rings-tr {
  position: absolute;
  top: -220px;
  right: -220px;
  width: 680px;
  height: 680px;
  pointer-events: none;
  overflow: visible;
}

/* ── Decorative: bottom-left concentric rings ── */
.rings-bl {
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 580px;
  height: 580px;
  pointer-events: none;
  overflow: visible;
}

/* ── Decorative: diagonal lines (stretches full panel) ── */
.diag-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ── Logo lockup — top-left ── */
.logo-lockup {
  position: relative;
  z-index: 10;
  padding: 36px 48px 0;
}

.logo-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-name {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.logo-sub {
  font-size: 12px;
  color: #6B7280;
  font-weight: 400;
  margin-top: 1px;
}

/* ── Hero copy — vertically centered ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px;
  position: relative;
  z-index: 10;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 28px;
  width: fit-content;
}

.badge-pill span {
  font-size: 11px;
  font-weight: 600;
  color: #60A5FA;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: #3B82F6;
}

.hero p {
  font-size: 16px;
  color: #9CA3AF;
  font-weight: 400;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 40px;
}

.hero-divider {
  width: 48px;
  height: 2px;
  background: #2563EB;
  border-radius: 2px;
  opacity: 0.7;
}

/* ── Stat pills — bottom-left ── */
.stat-pills {
  position: relative;
  z-index: 10;
  padding: 0 48px 40px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 7px 16px;
}

.stat-icon {
  color: #3B82F6;
  display: flex;
  align-items: center;
  line-height: 0;
}

.stat-value {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.stat-label {
  font-size: 13px;
  color: #6B7280;
  font-weight: 400;
}

/* ─────────────────────────────────────────────
   RIGHT PANEL — #FFFFFF white
───────────────────────────────────────────── */
.right-panel {
  flex: 0 0 48%;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow-y: auto;
  padding: 48px 32px;
}

.brand-hint-wrapper {
  width: 100%;
  max-width: 440px;
  margin-bottom: 8px;
}

.brand-hint {
  font-size: 12px;
  color: #A9A9A9;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* ─────────────────────────────────────────────
   AUTH CONTAINER
───────────────────────────────────────────── */
.auth-container {
  width: 100%;
  max-width: 440px;
}

/* ── Panel area ── */
.panel-area {
  position: relative;
}

/* ── Auth panels ── */
.auth-panel {
  width: 100%;
}

/* ── Panel header ── */
.panel-header {
  margin-bottom: 20px;
}

.panel-heading {
  font-size: 22px;
  font-weight: 500;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 4px;
}

.panel-subtitle {
  font-size: 13px;
  color: #6B7280;
  font-weight: 400;
}

/* ── Fields container ── */
.fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

/* ── Field group ── */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 14px;
  color: #374151;
  font-weight: 400;
}

/* ── Text / email / password inputs ── */
.input-wrapper {
  position: relative;
}

.field-input {
  height: 40px;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  color: #111827;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input::placeholder {
  color: #9CA3AF;
}

.field-input:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.field-input.has-right {
  padding-right: 40px;
}

/* ── Eye toggle button ── */
.input-right {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

.input-right:hover {
  color: #6B7280;
}

/* ── Dropdown menu ── */
/* ─────────────────────────────────────────────
   FORGOT PASSWORD
───────────────────────────────────────────── */
.forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.forgot-link {
  font-size: 13px;
  color: #2563EB;
  font-weight: 400;
  cursor: pointer;
  background: none;
  border: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* ─────────────────────────────────────────────
   CTA BUTTON
───────────────────────────────────────────── */
.cta-btn {
  width: 100%;
  height: 44px;
  background: #2563EB;
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  transition: opacity 0.15s ease;
}

.cta-btn:hover  { opacity: 0.90; }
.cta-btn:active { opacity: 0.80; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.right-footer {
  margin-top: 40px;
  font-size: 12px;
  color: #A9A9A9;
  text-align: center;
}
