.auth-page {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-xxl);
  display: flex;
  justify-content: center;
}

.auth-panel {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: var(--panel-gap);
  padding: var(--panel-padding);
}

.auth-panel__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.auth-panel__eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--home-blue);
}

.auth-panel__intro h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--home-yellow);
  letter-spacing: 0.08em;
}

.auth-panel__intro p {
  margin: 0;
  color: var(--home-muted);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.auth-field label {
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--home-text);
}

.auth-input {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: white;
  color: var(--text-on-light);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.auth-input:focus {
  border-color: var(--home-blue);
  box-shadow: 0 0 0 3px rgba(37, 190, 255, 0.25);
  outline: none;
}

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.95rem;
  color: var(--home-muted);
}

.auth-links a {
  color: var(--home-yellow);
  text-decoration: none;
}

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

.auth-meta {
  display: flex;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--home-muted);
}

.auth-meta a {
  color: var(--home-blue);
}

@media (max-width: 720px) {
  .auth-page {
    padding: 0 clamp(56px, 12vh, 96px);
  }

  .auth-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-meta {
    text-align: center;
  }
}

@media (max-width: 540px) {
  .auth-page {
    padding: 0 clamp(48px, 14vh, 80px);
  }

  .auth-panel {
    padding: clamp(24px, 7vw, 32px);
  }

  .auth-submit {
    min-height: 48px;
  }
}
