.auth-page {
  display: flex;
  min-height: 100vh;
}

/* ── LEFT PANEL ── */
.auth-left {
  width: 420px;
  flex-shrink: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-left-glow {
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(10,132,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.auth-left-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px;
  position: relative; z-index: 1;
}
.auth-brand { margin-bottom: auto; }
.auth-left-content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.auth-left-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px; font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 14px;
}
.auth-left-sub {
  font-size: 13px; color: var(--text-dim);
  line-height: 1.75; font-weight: 300;
  margin-bottom: 36px;
}
.auth-features { display: flex; flex-direction: column; gap: 14px; }
.auth-feature {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s;
}
.auth-feature:hover { border-color: var(--border-hover); }
.af-icon { font-size: 16px; flex-shrink: 0; }
.af-text { font-size: 12px; color: var(--text-dim); font-weight: 300; }
.auth-left-footer { font-size: 11px; color: var(--text-muted); }

/* ── RIGHT PANEL ── */
.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  position: relative; z-index: 1;
}
.auth-box {
  width: 100%;
  max-width: 400px;
}

/* ── TABS ── */
.auth-tabs {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 4px;
  margin-bottom: 32px;
}
.auth-tab {
  flex: 1; height: 34px;
  background: transparent;
  border: none; border-radius: 6px;
  color: var(--text-muted);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.auth-tab.active {
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.auth-tab:hover:not(.active) { color: var(--text-dim); }

/* ── FORM CONTENT ── */
.auth-title {
  font-family: 'Syne', sans-serif;
  font-size: 24px; font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 6px;
}
.auth-subtitle { font-size: 13px; color: var(--text-dim); font-weight: 300; margin-bottom: 28px; }

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-label-link {
  font-size: 11px; color: var(--accent);
  text-decoration: none; font-weight: 400;
  transition: opacity 0.15s;
}
.form-label-link:hover { opacity: 0.8; }

/* INPUT WITH EYE BUTTON */
.input-wrap { position: relative; }
.input-wrap .form-input { padding-right: 40px; }
.input-eye {
  position: absolute;
  right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none;
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center;
  padding: 4px; border-radius: 4px;
  transition: color 0.15s;
}
.input-eye:hover { color: var(--text-dim); }

/* PASSWORD STRENGTH */
.password-strength {
  display: flex; align-items: center; gap: 8px;
  margin-top: 7px; opacity: 0;
  transition: opacity 0.2s;
}
.password-strength.show { opacity: 1; }
.strength-bar {
  flex: 1; height: 3px;
  background: var(--bg-elevated);
  border-radius: 100px; overflow: hidden;
}
.strength-fill {
  height: 100%; width: 0%;
  border-radius: 100px;
  transition: width 0.3s ease, background 0.3s ease;
}
.strength-label { font-size: 10px; color: var(--text-muted); white-space: nowrap; min-width: 40px; }

/* CHECKBOX */
.remember-row { margin-bottom: 24px; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 12px; color: var(--text-dim);
  line-height: 1.5; font-weight: 300;
}
.checkbox-label a { color: var(--accent); text-decoration: none; }
.checkbox-label a:hover { text-decoration: underline; }
.checkbox-input { display: none; }
.checkbox-custom {
  width: 16px; height: 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
  margin-top: 1px;
}
.checkbox-input:checked + .checkbox-custom {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-input:checked + .checkbox-custom::after {
  content: '✓';
  font-size: 10px; color: white; font-weight: 700;
}

/* SUBMIT BUTTON */
.btn-full { margin-top: 4px; }

/* ALT LINK */
.auth-alt {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
}
.auth-alt a { color: var(--accent); text-decoration: none; transition: opacity 0.15s; }
.auth-alt a:hover { opacity: 0.8; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .auth-left { display: none; }
  .auth-right { padding: 32px 20px; }
}
