/* ==========================================================================
   Auth pages (login / register / forgot-password)
   Hero panel, trust-indicator strip and social sign-in buttons.
   Scoped under body.login so nothing here leaks into the app shell.
   ========================================================================== */

:root {
  --auth-primary: #0957f8;
  --auth-primary-soft: rgba(9, 87, 248, 0.08);
  --auth-ink: #1f2a44;
  --auth-muted: #5f6b85;
  --auth-line: #e3e8f2;
  --auth-radius: 0.75rem;
}

body.login {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Hero (left column) ---------- */

body.login .auth-hero {
  max-width: 34rem;
  padding: 1rem 0;
}

body.login .auth-hero-eyebrow {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: var(--auth-primary-soft);
  color: var(--auth-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.login .auth-hero-title {
  margin: 0 0 1rem;
  color: var(--auth-ink);
  font-size: clamp(1.75rem, 2.6vw + 0.5rem, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

body.login .auth-hero-sub {
  margin: 0 0 2rem;
  color: var(--auth-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- Trust strip ---------- */

body.login .auth-trust-label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--auth-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.login .auth-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.login .auth-trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--auth-line);
  border-radius: 999px;
  background: #fff;
  color: var(--auth-ink);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

body.login .auth-trust-strip li i {
  color: var(--auth-primary);
  font-size: 0.9rem;
}

/* ---------- Divider + social buttons (right column) ---------- */

body.login .auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
  color: var(--auth-muted);
  font-size: 0.85rem;
}

body.login .auth-divider::before,
body.login .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--auth-line);
}

body.login .auth-social {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.6rem;
}

body.login .auth-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--auth-line);
  border-radius: var(--auth-radius);
  background: #fff;
  color: var(--auth-ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.login .auth-social-btn:hover,
body.login .auth-social-btn:focus-visible {
  border-color: var(--auth-primary);
  box-shadow: 0 0.25rem 0.75rem rgba(9, 87, 248, 0.12);
  color: var(--auth-ink);
  transform: translateY(-1px);
}

body.login .auth-social-btn i {
  font-size: 1.05rem;
}

body.login .auth-social-google i    { color: #ea4335; }
body.login .auth-social-linkedin i  { color: #0a66c2; }
body.login .auth-social-microsoft i { color: #00a4ef; }

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
  body.login .auth-hero {
    max-width: none;
    margin-bottom: 2rem;
    text-align: left;
  }

  body.login .auth-social {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  body.login main.main {
    padding: 1.5rem !important;
  }

  body.login .auth-hero-sub {
    font-size: 0.95rem;
  }
}

/* ---------- Header Login / Sign up buttons (on the blue header bar) ---------- */

body.login .login-btns {
  display: flex;
  justify-content: flex-end;
  gap: 0.625rem;
}

body.login .login-btns .btn,
body.login .login-btns .btn:last-child {
  margin: 0;
  padding: 0.75rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 0.5rem;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.login .login-btns .btn:hover,
body.login .login-btns .btn:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}

/* The page you're on is the solid white pill */
body.login .login-btns .btn.active,
body.login .login-btns .btn.active:hover {
  background: #fff;
  border-color: #fff;
  color: var(--auth-primary);
}

body.login .login-btns .btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: none;
}

@media (max-width: 575.98px) {
  /* .ms-5 on the wrapper pushes Sign up off-screen on phones */
  body.login .login-btns {
    margin-left: 0 !important;
    gap: 0.4rem;
  }

  body.login .login-btns .btn,
  body.login .login-btns .btn:last-child {
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 390px) {
  /* Shrink the wordmark so it fits beside both header buttons */
  body.login .auth-logo img {
    height: 24px;
  }
}
