/* RecruiterOS · Auth pages (signup / login)
   Reuses the core theme tokens from styles.css; layout-only here. */

.auth-body { min-height: 100vh; overflow-x: hidden; }

.auth-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100vh;
  max-width: 1240px;
  margin: 0 auto;
}

/* LEFT pitch panel */
.auth-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 64px 56px;
}
.auth-aside .brand { margin-bottom: 18px; }
.auth-aside h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; }
.auth-aside > p { color: var(--text-muted); max-width: 44ch; font-size: 16px; }
.auth-points { list-style: none; display: grid; gap: 14px; margin: 8px 0 0; padding: 0; }
.auth-points li { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; }
.auth-points .ap {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border); font-size: 16px;
}
.auth-trust { margin-top: 16px; color: var(--text-dim); font-size: 12.5px; font-family: var(--mono); letter-spacing: 0.02em; }

/* RIGHT form card */
.auth-card-wrap { display: grid; place-items: center; padding: 48px 40px; }
.auth-card {
  width: 100%; max-width: 420px;
  background: rgba(22, 22, 31, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--shadow-glow);
  padding: 30px 30px 26px;
}
.auth-card h2 { font-size: 23px; margin: 18px 0 4px; letter-spacing: -0.01em; }
.auth-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* segmented control */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 4px; }
.seg-btn {
  appearance: none; border: 0; cursor: pointer; padding: 9px 10px; border-radius: 9px;
  background: transparent; color: var(--text-muted); font: inherit; font-weight: 600; font-size: 13.5px;
  transition: all 0.15s ease;
}
.seg-btn.active { background: var(--surface-2); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset; }

/* fields */
.fld { display: grid; gap: 7px; margin-bottom: 15px; }
.fld > span { font-size: 13px; color: var(--text-muted); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.fld input {
  width: 100%; padding: 12px 13px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--border-strong); color: var(--text);
  font: inherit; font-size: 15px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fld input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18); }
.fld input::placeholder { color: var(--text-dim); }
.forgot, .fld a { color: var(--brand-2); text-decoration: none; font-weight: 600; font-size: 12px; }

.strength { height: 4px; border-radius: 4px; background: var(--surface-2); margin-top: 2px; overflow: hidden; position: relative; }
.strength::after { content: ""; position: absolute; inset: 0; width: var(--w, 0%); background: var(--grad); transition: width 0.2s ease; }
.strength[data-level="weak"] { --w: 33%; }
.strength[data-level="ok"] { --w: 66%; }
.strength[data-level="strong"] { --w: 100%; }

.btn-block { width: 100%; justify-content: center; }
.btn-lg.btn-block { margin-top: 4px; }

.or { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: 12px; margin: 16px 0; }
.or::before, .or::after { content: ""; height: 1px; flex: 1; background: var(--border); }

.auth-msg { min-height: 20px; margin: 14px 0 0; font-size: 13.5px; text-align: center; }
.auth-msg.err { color: var(--accent-red); }
.auth-msg.okk { color: var(--accent-green); }
.auth-msg.busy { color: var(--text-muted); }
.auth-fine { margin-top: 14px; font-size: 12px; color: var(--text-dim); text-align: center; }
.auth-fine a { color: var(--brand-2); text-decoration: none; }

@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-card-wrap { padding: 32px 18px; }
}

/* Show/hide password eye toggle (injected by auth.js/reset.js) */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 44px; }
.pw-eye {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center;
  background: none; border: none; cursor: pointer; font-size: 16px;
  color: var(--text-dim); border-radius: 7px; line-height: 1;
}
.pw-eye:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.pw-eye:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 1px; }

/* Continue with LinkedIn button */
.btn-li { display: flex; align-items: center; justify-content: center; gap: 10px; background: #0a66c2; color: #fff; border: 1px solid #0a66c2; font-weight: 600; }
.btn-li:hover { background: #004182; border-color: #004182; }
.btn-li .li-i { display: inline-grid; place-items: center; width: 20px; height: 20px; background: #fff; color: #0a66c2; border-radius: 4px; font-size: 11px; font-weight: 800; font-family: Arial, sans-serif; }
