/* RCRUTR — Login / signup */

:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --navy: #0b1c33;
  --blue: #0b57e0;
  --blue-tint: #e8f0fe;
  --border: #e4e8f0;
  --ink: #16233c;
  --ink-soft: #48536b;
  --muted: #8791a3;
  --red: #dc3d43;
  --red-tint: #fdeceb;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--navy);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

img { max-width: 100%; display: block; }

.auth-wrap { width: 100%; max-width: 400px; }

.auth-logo { display: flex; justify-content: center; margin-bottom: 28px; }
.auth-logo img { height: 40px; }

.auth-card {
  background: var(--card);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 24px 60px rgba(11,28,51,0.35);
}

.auth-tabs {
  display: flex;
  background: var(--bg);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 22px;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 8px;
  cursor: pointer;
}

.auth-tab.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,28,51,0.12); }

.auth-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.auth-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }

.field { margin-bottom: 14px; }
.field-label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }

.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }

.auth-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ink);
}

.auth-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }

select.auth-input { background: #fff; }

.auth-btn {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 6px;
}

.auth-btn:disabled { opacity: 0.6; cursor: default; }

.auth-error {
  display: none;
  background: var(--red-tint);
  color: var(--red);
  font-size: 12.5px;
  border-radius: 8px;
  padding: 9px 11px;
  margin-bottom: 14px;
  line-height: 1.4;
}

.auth-error.show { display: block; }

.auth-note {
  display: none;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 12.5px;
  border-radius: 8px;
  padding: 9px 11px;
  margin-bottom: 14px;
  line-height: 1.4;
}

.auth-note.show { display: block; }

.auth-panel { display: none; }
.auth-panel.active { display: block; }

.auth-foot { text-align: center; font-size: 11.5px; color: rgba(255,255,255,0.55); margin-top: 18px; line-height: 1.5; }
.auth-foot a { color: rgba(255,255,255,0.85); font-weight: 600; }
