.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 92px;
}

.auth-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: linear-gradient(180deg, rgba(5, 9, 15, 0.92), rgba(5, 9, 15, 0.45));
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
  z-index: 40;
}

.auth {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 8vw, 104px) 0;
}

.auth__layout {
  width: min(1080px, 92vw);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: stretch;
  margin: 0 auto;
}

.auth__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.auth__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  margin: 0;
}

.auth__title .accent {
  color: var(--accent);
}

.auth__lead {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.auth__features {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.auth__features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text);
}

.auth__features li::before {
  content: "";
  display: inline-flex;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-top: 6px;
  box-shadow: 0 0 14px rgba(0, 245, 213, 0.6);
}

.auth__card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.auth__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px 220px at 85% 12%, rgba(18, 179, 255, 0.2), transparent 70%);
  pointer-events: none;
  opacity: 0.75;
  z-index: 0;
}

.auth__card > * {
  position: relative;
  z-index: 1;
}

.auth__card-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.auth__note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-form__group {
  display: grid;
  gap: 8px;
}

.auth-form__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.auth-form__input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 213, 0.18);
  background: rgba(7, 16, 28, 0.78);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form__input::placeholder {
  color: rgba(143, 176, 197, 0.55);
}

.auth-form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 245, 213, 0.18);
}

.auth-form__recaptcha {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

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

.auth-form__submit {
  width: 100%;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 16px;
}

.auth-form__footer {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.auth-form__footer a {
  color: var(--accent-2);
  text-decoration: none;
}

.auth-form__footer a:hover,
.auth-form__footer a:focus-visible {
  text-decoration: underline;
}

.auth-footer {
  padding: 24px 0 40px;
  border-top: 1px solid rgba(0, 245, 213, 0.12);
  background: rgba(5, 9, 15, 0.65);
}

.auth-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-footer__links {
  display: flex;
  gap: 18px;
}

.auth-footer__links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.auth-footer__links a:hover,
.auth-footer__links a:focus-visible {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .auth__layout {
    grid-template-columns: 1fr;
  }

  .auth__intro {
    text-align: center;
    align-items: center;
  }

  .auth__features {
    justify-items: center;
  }

  .auth__card {
    max-width: min(520px, 92vw);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .auth-body {
    padding-top: 80px;
  }

  .auth-header .navbar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .auth {
    padding: 48px 0 72px;
  }

  .auth-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .auth-footer__links {
    justify-content: center;
  }
}
