.lh-auth {
  padding: 56px 28px 64px;
  background: radial-gradient(
    ellipse at 10% 10%,
    hsl(var(--primary) / 0.055),
    transparent 48%
  );
  color: hsl(var(--foreground));
}
.lh-auth * {
  box-sizing: border-box;
}
.lh-auth-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 28px;
  background: hsl(var(--card));
  box-shadow: 0 20px 70px hsl(var(--primary) / 0.07);
}
.lh-auth-story {
  padding: 42px 40px 30px;
  background: linear-gradient(150deg, #e9f5fc, #edf2ff 65%, #f5f0ff);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: #12364d;
}
.lh-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: Sora, Inter, sans-serif;
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
  color: #087dab;
}
.lh-auth-brand > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #087dab;
  color: white;
  border-radius: 11px;
  font-size: 24px;
}
.lh-auth-story-copy {
  margin-top: 46px;
}
.lh-auth-eyebrow,
.lh-auth-kicker {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: #487487;
}
.lh-auth-story h2 {
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -1px;
  margin: 15px 0 17px;
}
.lh-auth-story-copy > p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 340px;
  color: #577282;
}
.lh-auth-art {
  position: relative;
  margin: 30px -12px 0;
  flex: 1;
  min-height: 225px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lh-auth-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 12px 36px #187d9c12;
  transform: rotate(-3deg);
}
.lh-auth-gift {
  position: relative;
  align-self: flex-end;
  margin: -20px -3px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  border: 1px solid #ffffffb0;
  border-radius: 15px;
  padding: 15px 17px;
  box-shadow: 0 8px 26px #30547012;
}
.lh-auth-gift-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #f4eaff;
  color: #8955c8;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.lh-auth-gift strong {
  font-size: 13px;
  font-weight: 700;
}
.lh-auth-gift p {
  font-size: 11px;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  margin: 3px 0 0;
}
.lh-auth-story-foot {
  font-size: 11px;
  color: #66808d;
  margin: 30px 0 0;
  line-height: 1.7;
}
.lh-auth-card {
  padding: 36px 44px;
}
.lh-auth-tabs {
  display: flex;
  padding: 4px;
  border-radius: 12px;
  background: hsl(var(--muted) / 0.7);
  gap: 4px;
  margin-bottom: 29px;
}
.lh-auth-tabs button {
  flex: 1;
  border: 0;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  transition:
    background 0.15s,
    color 0.15s;
}
.lh-auth-tabs button[aria-pressed="true"] {
  background: hsl(var(--card));
  color: hsl(var(--primary));
  box-shadow: 0 2px 7px #0a42670d;
}
.lh-auth-kicker {
  font-size: 9px;
  color: hsl(var(--primary));
  letter-spacing: 1.6px;
}
.lh-auth-heading h1 {
  font-family: Sora, Inter, sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 1.4;
  margin: 9px 0;
}
.lh-auth-heading p {
  font-size: 13px;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  margin: 0 0 25px;
}
.lh-auth-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.lh-auth-field > label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
}
.lh-auth-input-wrap {
  position: relative;
}
.lh-auth-input-wrap input {
  display: block;
  width: 100%;
  height: 47px;
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  background: hsl(var(--background));
  padding: 0 14px;
  color: hsl(var(--foreground));
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.lh-auth-input-wrap input::placeholder {
  color: hsl(var(--muted-foreground) / 0.65);
  font-size: 12px;
}
.lh-auth-input-wrap input:focus {
  border-color: hsl(var(--primary) / 0.65);
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}
.lh-auth-input-wrap:has(button) input {
  padding-right: 58px;
}
.lh-auth-reveal {
  position: absolute;
  right: 10px;
  top: 9px;
  border: 0;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-size: 11px;
  font-weight: 600;
  padding: 7px;
}
.lh-auth-forgot {
  text-align: right;
  margin-top: -7px;
  font-size: 11px;
  color: hsl(var(--primary));
}
.lh-auth-forgot a:hover,
.lh-auth-help a:hover {
  text-decoration: underline;
}
.lh-auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11px;
  line-height: 1.8;
  color: hsl(var(--muted-foreground));
}
.lh-auth-consent input {
  margin-top: 4px;
  accent-color: hsl(var(--primary));
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.lh-auth-consent a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lh-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 5px 13px hsl(var(--primary) / 0.14);
  transition:
    filter 0.15s,
    transform 0.15s;
}
.lh-auth-submit:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.lh-auth-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.lh-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: hsl(var(--muted-foreground));
  font-size: 10px;
  margin: 23px 0 17px;
}
.lh-auth-divider:before,
.lh-auth-divider:after {
  content: "";
  height: 1px;
  background: hsl(var(--border));
  flex: 1;
}
.lh-auth-providers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.lh-auth-providers button {
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  padding: 11px 4px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  background: hsl(var(--card));
  font-size: 11px;
  font-weight: 600;
  min-height: 62px;
}
.lh-auth-providers button:disabled {
  cursor: not-allowed;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--muted) / 0.22);
}
.lh-auth-providers small {
  flex-basis: 100%;
  text-align: center;
  font-size: 9px;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
}
.lh-auth-provider-icon {
  font-size: 17px;
  line-height: 19px;
  font-weight: 700;
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lh-auth-provider-google {
  color: #4285f4;
}
.lh-auth-provider-facebook {
  color: #1877f2;
  font-family: Arial, sans-serif;
  font-size: 21px;
}
.lh-auth-provider-note {
  font-size: 10px;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  margin: 11px 0 18px;
}
.lh-auth-switch {
  display: block;
  width: 100%;
  font-size: 12px;
  color: hsl(var(--primary));
  font-weight: 600;
  padding: 2px;
  text-align: center;
}
.lh-auth-switch:hover {
  text-decoration: underline;
}
.lh-auth-help {
  border-top: 1px solid hsl(var(--border));
  margin-top: 21px;
  padding-top: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: hsl(var(--muted-foreground));
}
.lh-auth-help button:disabled {
  cursor: not-allowed;
  color: hsl(var(--muted-foreground));
}
.lh-auth-status {
  font-size: 12px;
  line-height: 1.7;
  background: hsl(var(--muted));
  border-left: 3px solid hsl(var(--primary));
  border-radius: 7px;
  padding: 11px 13px;
  margin: 0;
}
.lh-auth button:focus-visible,
.lh-auth a:focus-visible {
  outline: 3px solid hsl(var(--primary) / 0.35);
  outline-offset: 3px;
}
@media (min-width: 1600px) {
  .lh-auth {
    padding-top: 70px;
    padding-bottom: 80px;
  }
}
@media (max-width: 850px) {
  .lh-auth {
    padding: 32px 20px;
  }
  .lh-auth-layout {
    max-width: 510px;
    display: block;
    border-radius: 22px;
  }
  .lh-auth-story {
    padding: 24px 30px;
  }
  .lh-auth-story-copy {
    margin-top: 20px;
  }
  .lh-auth-story h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .lh-auth-story h2 br {
    display: none;
  }
  .lh-auth-story h2 br:after {
    content: " ";
  }
  .lh-auth-story-copy > p,
  .lh-auth-art img,
  .lh-auth-story-foot,
  .lh-auth-eyebrow {
    display: none;
  }
  .lh-auth-art {
    min-height: 0;
    margin: 14px 0 0;
  }
  .lh-auth-gift {
    align-self: stretch;
    margin: 0;
    padding: 11px 13px;
    box-shadow: none;
    border-color: #ffffff;
    border-radius: 12px;
  }
  .lh-auth-gift-icon {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  .lh-auth-gift p {
    font-size: 10px;
  }
  .lh-auth-card {
    padding: 27px 30px;
  }
  .lh-auth-heading h1 {
    font-size: 23px;
  }
}
@media (max-width: 420px) {
  .lh-auth {
    padding: 20px 12px 30px;
  }
  .lh-auth-story {
    padding: 21px 22px;
  }
  .lh-auth-brand {
    font-size: 18px;
  }
  .lh-auth-brand > span {
    width: 29px;
    height: 29px;
    font-size: 20px;
  }
  .lh-auth-story-copy {
    margin-top: 17px;
  }
  .lh-auth-story h2 {
    font-size: 21px;
    letter-spacing: -0.6px;
    line-height: 1.5;
  }
  .lh-auth-card {
    padding: 24px 22px;
  }
  .lh-auth-heading h1 {
    font-size: 22px;
  }
  .lh-auth-input-wrap input {
    font-size: 16px;
  }
  .lh-auth-gift strong {
    font-size: 12px;
  }
  .lh-auth-gift p {
    font-size: 9px;
  }
  .lh-auth-providers {
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lh-auth * {
    transition: none !important;
    transform: none !important;
  }
}
.dark .lh-auth-story {
  background: linear-gradient(150deg, #153342, #1c2943 65%, #302544);
  color: #e0eff9;
}
.dark .lh-auth-story-copy > p,
.dark .lh-auth-story-foot {
  color: #aac2d0;
}
.dark .lh-auth-brand {
  color: #72c8eb;
}
