/* LoadFast auth pages — matches landing brand */

:root {
  --forest-950: #041f18;
  --forest-900: #0b3d2e;
  --forest-800: #0f5240;
  --forest-700: #147055;
  --lime: #c6f04b;
  --lime-deep: #9ed41f;
  --mist: #e8f5ef;
  --fog: #f3faf6;
  --ink: #10231c;
  --ink-soft: #3d5a4e;
  --line: rgba(11, 61, 46, 0.12);
  --white: #ffffff;
  --danger: #c0392b;
  --font-display: "ClashDisplay", "Segoe UI", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow: 0 24px 60px rgba(4, 31, 24, 0.16);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body.lf-auth {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--fog);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

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

button,
input {
  font: inherit;
}

.lf-auth-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
}

.lf-auth-brand {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(198, 240, 75, 0.2), transparent 55%),
    radial-gradient(ellipse 60% 45% at 90% 80%, rgba(20, 112, 85, 0.5), transparent 50%),
    linear-gradient(155deg, #063528 0%, #0b3d2e 45%, #071f18 100%);
}

.lf-auth-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.55;
  pointer-events: none;
}

.lf-auth-brand > * {
  position: relative;
  z-index: 1;
}

.lf-auth-brand__logo img {
  width: 148px;
  filter: brightness(0) invert(1);
}

.lf-auth-brand__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 1rem;
}

.lf-auth-brand__copy h1 span {
  color: var(--lime);
}

.lf-auth-brand__copy p {
  margin: 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.lf-auth-brand__meta {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}

.lf-auth-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(198, 240, 75, 0.12), transparent 55%),
    var(--fog);
}

.lf-auth-card {
  width: min(440px, 100%);
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2rem);
  animation: lf-auth-rise 0.7s var(--ease) both;
}

.lf-auth-card--wide {
  width: min(520px, 100%);
}

@keyframes lf-auth-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lf-auth-card__top {
  margin-bottom: 1.5rem;
}

.lf-auth-card__top a.lf-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-700);
  margin-bottom: 1rem;
}

.lf-auth-card__top a.lf-back:hover {
  color: var(--forest-950);
}

.lf-auth-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  color: var(--forest-950);
}

.lf-auth-card__lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.lf-auth-intent {
  margin: 0 0 1.25rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--mist), #f7ffe8);
  color: var(--forest-800);
  font-size: 0.88rem;
  font-weight: 600;
}

.lf-auth-form {
  display: grid;
  gap: 0.95rem;
}

.lf-auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.lf-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.lf-field input[type="text"],
.lf-field input[type="email"],
.lf-field input[type="password"],
.lf-field input[type="tel"] {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lf-field input:focus {
  border-color: var(--forest-700);
  box-shadow: 0 0 0 3px rgba(20, 112, 85, 0.14);
}

.lf-field input.is-invalid {
  border-color: rgba(192, 57, 43, 0.55);
}

.lf-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--danger);
}

.lf-auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.lf-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  cursor: pointer;
}

.lf-check input {
  margin-top: 0.2rem;
  accent-color: var(--forest-900);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.lf-auth-meta a,
.lf-check a {
  color: var(--forest-800);
  font-weight: 600;
}

.lf-auth-meta a:hover,
.lf-check a:hover {
  color: var(--forest-950);
  text-decoration: underline;
}

.lf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}

.lf-btn:hover {
  transform: translateY(-1px);
}

.lf-btn--primary {
  background: var(--lime);
  color: var(--forest-950);
  box-shadow: 0 10px 28px rgba(158, 212, 31, 0.35);
  width: 100%;
}

.lf-btn--primary:hover {
  background: #d4f76a;
}

.lf-auth-switch {
  margin-top: 1.35rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.lf-auth-switch a {
  color: var(--forest-900);
  font-weight: 700;
}

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

.lf-auth-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.lf-auth-mobile-brand {
  display: none;
}

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

  .lf-auth-brand {
    display: none;
  }

  .lf-auth-mobile-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
  }

  .lf-auth-mobile-brand img {
    width: 120px;
  }

  .lf-auth-main {
    padding: 1.25rem 1rem 2rem;
    min-height: 100svh;
  }

  .lf-auth-row {
    grid-template-columns: 1fr;
  }
}

.lf-picnic-credit,
.lf-picnic-ticket {
  text-align: left;
}

.lf-picnic-credit {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff7ee;
  border: 1px solid #f0d3b0;
  color: #5c3b16;
}

.lf-picnic-credit p {
  margin: 0;
  line-height: 1.45;
}

.lf-picnic-ticket {
  margin: 16px 0;
  padding: 18px 18px 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, #ffe7c2, transparent 42%),
    linear-gradient(160deg, #fffaf3, #fff);
  border: 1px dashed #e2a15a;
  color: #3d2a14;
}

.lf-picnic-ticket h3 {
  margin: 4px 0 2px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.lf-picnic-ticket__kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b86a22;
}

.lf-picnic-ticket__line {
  margin: 0 0 12px;
}

.lf-picnic-ticket dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 0;
}

.lf-picnic-ticket dt {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6a45;
}

.lf-picnic-ticket dd {
  margin: 0;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .lf-auth-card {
    animation: none;
  }
}
