body.landing-auth-body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  color: #0f172a;
  min-height: 100vh;
  min-height: 100dvh;
}

.landing-auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

@media (max-width: 520px) {
  .landing-auth-shell {
    align-items: start;
    padding: max(16px, env(safe-area-inset-top, 0px)) 12px max(16px, env(safe-area-inset-bottom, 0px));
  }

  .landing-auth-card {
    border-radius: 20px;
    padding: clamp(20px, 6vw, 32px);
  }

  .landing-auth-card h1 {
    font-size: clamp(28px, 9vw, 36px);
  }

  .landing-field input {
    font-size: 16px;
    min-height: 48px;
  }

  .landing-password-toggle {
    width: 44px;
    height: 44px;
    right: 8px;
  }

  .landing-auth-checkbox,
  .landing-auth-btn,
  .landing-auth-link-btn {
    min-height: 48px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .landing-auth-shell {
    place-items: start center;
    padding-top: 12px;
  }

  .landing-auth-card {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.landing-auth-card {
  width: min(100%, 460px);
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.08);
  padding: 32px;
}

.landing-auth-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.landing-auth-card h1 {
  margin: 0 0 10px;
  font-size: 36px;
  letter-spacing: -0.04em;
}

.landing-auth-card p {
  margin: 0 0 24px;
  line-height: 1.7;
  color: #48627f;
}

.landing-auth-error {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: #b91c1c;
  font-weight: 700;
}

.landing-field {
  margin-bottom: 16px;
}

.landing-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.landing-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
}

.landing-field input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.landing-password-wrap {
  position: relative;
}

.landing-password-wrap input {
  padding-right: 54px;
}

.landing-password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.95);
  color: #334155;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.landing-password-toggle:hover {
  background: rgba(239, 246, 255, 0.98);
  border-color: rgba(37, 99, 235, 0.28);
}

.landing-password-toggle:active {
  transform: translateY(-50%) scale(0.97);
}

.landing-password-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.landing-auth-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.92));
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.landing-auth-checkbox input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
}

.landing-auth-checkbox-text {
  display: grid;
  gap: 2px;
}

.landing-auth-checkbox-text strong {
  color: #0f172a;
}

.landing-auth-checkbox-text small {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.landing-auth-btn,
.landing-auth-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.landing-auth-btn {
  background: linear-gradient(135deg, #2563eb, #0f766e);
  color: #fff;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.24);
}

.landing-auth-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.landing-auth-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
}
