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

:root {
  --gutter: 20px;
  --canvas: #fffefb;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(249, 255, 252, 0.96);
  --surface-strong: #ffffff;
  --brand: #01382c;
  --brand-hover: #005c47;
  --accent: #059669;
  --accent-hover: #047857;
  --accent-soft: #ecfdf5;
  --text: #01382c;
  --text-muted: rgba(1, 56, 44, 0.62);
  --text-soft: rgba(1, 56, 44, 0.46);
  --border: rgba(1, 56, 44, 0.1);
  --border-soft: rgba(1, 56, 44, 0.06);
  --border-mint: rgba(198, 244, 227, 1);
  --ring: rgba(5, 150, 105, 0.08);
  --shadow-soft: 0 16px 38px -30px rgba(1, 56, 44, 0.24);
  --shadow-card: 0 10px 28px -22px rgba(1, 56, 44, 0.18);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --font-main: "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 48px;
  }
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  font-family: var(--font-main);
  background-color: var(--canvas);
  background-image:
    radial-gradient(120% 38% at 50% 0%, rgba(131, 230, 189, 0.14) 0%, rgba(131, 230, 189, 0.07) 22%, rgba(255, 254, 251, 0) 56%),
    linear-gradient(180deg, rgba(236, 253, 245, 0.82) 0%, rgba(255, 254, 251, 0) 260px);
  background-repeat: no-repeat;
  color: var(--text);
  line-height: 1.6;
}

body[data-account-type="recruiter"] {
  background-image:
    radial-gradient(112% 38% at 56% 0%, rgba(131, 230, 189, 0.16) 0%, rgba(131, 230, 189, 0.08) 22%, rgba(255, 254, 251, 0) 58%),
    linear-gradient(180deg, rgba(236, 253, 245, 0.86) 0%, rgba(255, 254, 251, 0) 260px);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(5, 150, 105, 0.28);
  outline-offset: 2px;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 32px var(--gutter);
}

.auth-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-panel-card {
  width: 100%;
  max-width: 432px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .auth-panel-card {
    padding: 28px;
  }
}

.auth-panel-inner {
  width: 100%;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-lockup img {
  width: 22px;
  height: 22px;
}

.auth-panel-badge,
.showcase-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(1, 56, 44, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(1, 56, 44, 0.68);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.auth-panel-badge {
  margin-bottom: 14px;
}

.auth-title {
  font-size: 2rem;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.auth-intro {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 34ch;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .form-grid.form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: grid;
  gap: 7px;
}

.field-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(1, 56, 44, 0.72);
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: var(--surface-strong);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.input-shell:focus-within {
  border-color: rgba(5, 150, 105, 0.34);
  background: #f8fffc;
  box-shadow: 0 0 0 4px var(--ring);
}

.input-shell input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
}

.input-shell input::placeholder {
  color: #9ca3af;
}

.input-shell.has-toggle {
  padding-right: 42px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 999px;
  color: #9ca3af;
  line-height: 1;
}

.password-toggle:hover {
  background: rgba(1, 56, 44, 0.05);
  color: var(--brand);
}

.password-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.8125rem;
}

.checkbox-row input {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
}

.inline-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-hover);
}

.inline-link:hover {
  color: var(--brand-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #ebfff9;
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.btn-outline {
  border: 1px solid rgba(1, 56, 44, 0.14);
  color: var(--brand);
}

.btn-outline:hover {
  border-color: rgba(1, 56, 44, 0.24);
  background: rgba(1, 56, 44, 0.03);
}

.auth-feedback {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 248, 0.9));
  color: var(--brand);
  font-size: 0.8125rem;
  box-shadow: var(--shadow-card);
}

.auth-secondary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-soft);
  font-size: 0.875rem;
}

.auth-secondary a {
  color: var(--brand);
  font-weight: 700;
}

.account-picker {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .account-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.account-card {
  position: relative;
}

.account-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.account-card label {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.account-card label:hover {
  border-color: rgba(5, 150, 105, 0.22);
}

.account-card input:checked + label {
  border-color: rgba(5, 150, 105, 0.28);
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.18), 0 18px 34px -24px rgba(5, 150, 105, 0.24);
}

.account-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--brand);
  line-height: 1;
  flex-shrink: 0;
}

.account-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

.account-card strong {
  display: block;
  color: var(--text);
  font-size: 0.875rem;
}

.account-card span {
  display: block;
  color: var(--text-soft);
  font-size: 0.75rem;
  line-height: 1.45;
}

.account-card .account-icon {
  display: inline-flex;
}

.role-note {
  color: var(--text-soft);
  font-size: 0.75rem;
}

.password-strength {
  display: grid;
  gap: 8px;
}

.strength-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.strength-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(1, 56, 44, 0.08);
  overflow: hidden;
}

.strength-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #d1d5db;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.auth-showcase {
  display: none !important;
}

.showcase-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 248, 0.9));
  box-shadow: var(--shadow-soft);
}

.showcase-kicker {
  margin-top: 2px;
  font-size: 1.65rem;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.showcase-desc {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 32ch;
}

.showcase-stat-grid {
  display: grid;
  gap: 10px;
}

.stat-card {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.stat-card strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1.0625rem;
  line-height: 1.1;
  color: var(--brand);
}

.stat-card span {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-soft);
}

.showcase-list {
  display: grid;
  gap: 8px;
}

.showcase-list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(1, 56, 44, 0.74);
  font-size: 0.75rem;
  line-height: 1.5;
}

.showcase-list-item::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

.showcase-quote {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.showcase-quote p {
  margin-bottom: 8px;
  font-size: 0.75rem;
  color: rgba(1, 56, 44, 0.84);
}

.quote-attribution {
  font-size: 0.6875rem;
  color: var(--text-soft);
}

.showcase-trusted {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.6875rem;
  color: var(--text-soft);
}

.showcase-brand-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(1, 56, 44, 0.84);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1099px) {
  .auth-shell {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}
