.auth-page {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

.auth-container {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.auth-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.auth-card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  text-align: center;
  color: white;
}

.auth-subtext {
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
}

.auth-card input {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.auth-card input::placeholder {
  color: #b8c2d9;
}

.auth-card input:focus {
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.auth-btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.95rem 1rem;
  border: none;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.auth-btn:hover {
  background: var(--orange-dark);
}

.auth-btn:active {
  transform: translateY(1px);
}

.toggle-link {
  margin-top: 1.25rem;
  text-align: center;
}

.toggle-link p {
  margin: 0;
  color: var(--muted);
}

.toggle-link a {
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.toggle-link a:hover {
  color: white;
}

@media (max-width: 600px) {
  .auth-page {
    padding: 2.5rem 1rem;
  }

  .auth-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .auth-card h2 {
    font-size: 1.7rem;
  }
}