/* Hirefathom — auth.css */

/* ============================================================
   AUTH LAYOUT — DARK SPLIT (login/signup)
   ============================================================ */
.hf-auth-page {
  min-height: 100vh;
  background: var(--hf-navy);
  display: flex;
  flex-direction: column;
}

.hf-auth-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .hf-auth-layout {
    grid-template-columns: 1fr;
  }
}

/* Left side: brand panel */
.hf-auth-side {
  background: var(--hf-navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vw, 96px) clamp(32px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hf-auth-side {
    display: none;
  }
}

.hf-auth-side__logo {
  position: absolute;
  top: 32px;
  left: clamp(32px, 6vw, 72px);
}

.hf-auth-side__logo img {
  height: 32px;
  width: auto;
}

.hf-auth-side__content {
  position: relative;
  z-index: 2;
}

.hf-auth-side__tagline {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--hf-fg-dark-1);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hf-auth-side__desc {
  font-size: 1.0625rem;
  color: var(--hf-fg-dark-2);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 38ch;
}

.hf-auth-side__proof {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hf-auth-side__proof-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--hf-fg-dark-2);
}

.hf-auth-side__proof-item i {
  color: var(--hf-amber);
  font-size: 0.875rem;
}

/* Sonar decoration on auth side */
.hf-auth-side__sonar {
  position: absolute;
  right: -60px;
  bottom: -60px;
  opacity: 0.06;
  pointer-events: none;
}

/* Right side: form panel */
.hf-auth-panel {
  background: var(--hf-navy-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}

@media (max-width: 900px) {
  .hf-auth-panel {
    background: var(--hf-navy);
    padding: 80px 24px 48px;
  }
}

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

/* Mobile: show logo only on mobile */
.hf-auth-mobile-logo {
  display: none;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .hf-auth-mobile-logo {
    display: block;
    text-align: center;
  }
  .hf-auth-mobile-logo img {
    height: 32px;
    width: auto;
    display: inline-block;
  }
}

.hf-auth-form-title {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--hf-fg-dark-1);
  margin-bottom: 8px;
}

.hf-auth-form-sub {
  font-size: 0.9375rem;
  color: var(--hf-fg-dark-2);
  margin-bottom: 32px;
  max-width: none;
}

.hf-auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hf-auth-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hf-auth-form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hf-fg-dark-2);
}

.hf-auth-form-input {
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--hf-fg-dark-1);
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.16);
  border-radius: var(--hf-radius-sm);
  transition: border-color 0.15s, background 0.15s;
  outline: none;
  width: 100%;
}

.hf-auth-form-input::placeholder {
  color: var(--hf-fg-dark-3);
}

.hf-auth-form-input:focus {
  border-color: var(--hf-amber);
  background: rgba(255,255,255,0.10);
}

.hf-auth-form-forgot {
  font-size: 0.875rem;
  color: var(--hf-amber);
  text-decoration: none;
  align-self: flex-end;
}
.hf-auth-form-forgot:hover {
  text-decoration: underline;
}

.hf-auth-form-submit {
  width: 100%;
  padding: 13px 24px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  background: var(--hf-amber);
  color: var(--hf-navy);
  border: none;
  border-radius: var(--hf-radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
}

.hf-auth-form-submit:hover {
  background: #E07028;
}

.hf-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--hf-fg-dark-3);
  font-size: 0.875rem;
}

.hf-auth-divider::before,
.hf-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.hf-auth-switch {
  text-align: center;
  font-size: 0.875rem;
  color: var(--hf-fg-dark-2);
  margin-top: 8px;
}

.hf-auth-switch a {
  color: var(--hf-amber);
  text-decoration: none;
  font-weight: 600;
}

.hf-auth-switch a:hover {
  text-decoration: underline;
}

.hf-auth-demo-notice {
  background: rgba(240,136,62,0.12);
  border: 1px solid rgba(240,136,62,0.25);
  border-radius: var(--hf-radius-sm);
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--hf-amber);
  text-align: center;
  margin-top: 8px;
}

/* ============================================================
   RESET PASSWORD — LIGHT TOP (centered card)
   ============================================================ */
.hf-reset-page {
  min-height: 100vh;
  background: var(--hf-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 24px 48px;
}

.hf-reset-card {
  width: 100%;
  max-width: 440px;
  background: var(--hf-white);
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-lg);
  padding: 40px 36px;
  box-shadow: var(--hf-shadow-md);
}

.hf-reset-card__logo {
  text-align: center;
  margin-bottom: 28px;
}

.hf-reset-card__logo img {
  height: 30px;
  width: auto;
  display: inline-block;
}

.hf-reset-card__title {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hf-fg-light-1);
  margin-bottom: 8px;
  text-align: center;
}

.hf-reset-card__sub {
  font-size: 0.9375rem;
  color: var(--hf-fg-light-2);
  text-align: center;
  margin-bottom: 28px;
  max-width: none;
}

.hf-reset-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hf-reset-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hf-reset-form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hf-fg-light-1);
}

.hf-reset-form-input {
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--hf-fg-light-1);
  background: var(--hf-cream);
  border: 1.5px solid var(--hf-border);
  border-radius: var(--hf-radius-sm);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}

.hf-reset-form-input:focus {
  border-color: var(--hf-navy);
  box-shadow: 0 0 0 3px rgba(26,43,74,0.08);
}

.hf-reset-submit {
  width: 100%;
  padding: 13px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  background: var(--hf-navy);
  color: var(--hf-white);
  border: none;
  border-radius: var(--hf-radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
}

.hf-reset-submit:hover {
  background: var(--hf-navy-alt);
}

.hf-reset-back {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  color: var(--hf-amber-aa);
  text-decoration: none;
  margin-top: 12px;
}

.hf-reset-back:hover {
  text-decoration: underline;
}
