/* Sign-in page, in the AccessAI look (builds on /styles.css). */
.auth-page {
  display: flex;
  flex-direction: column;
}

.auth {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: clamp(2.5rem, 10vh, 6rem) clamp(1.25rem, 4vw, 2.5rem);
}

.auth__panel {
  width: 100%;
  max-width: 28rem;
  padding: clamp(1.75rem, 5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.08);
}

.auth__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--gold-soft);
  text-shadow: 0 0 28px rgba(255, 179, 0, 0.25);
}

.auth__intro {
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
}

.auth__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth__form label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.auth__form input {
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.05);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.auth__form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.auth__form input:focus {
  border-color: rgba(0, 229, 255, 0.7);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.auth__form .btn {
  margin-top: 0.5rem;
}

.auth .btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.auth__note {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  opacity: 0.85;
}

.auth__check p {
  margin: 0 0 0.85rem;
}

.auth__check code {
  font-size: 0.85em;
  color: var(--cyan-soft);
}

.auth__switch {
  font-size: 0.92rem;
}

.auth__link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cyan-soft);
  font-weight: 600;
  cursor: pointer;
}

.auth__link:hover,
.auth__link:focus-visible {
  text-decoration: underline;
}

.auth__msg {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.08);
  font-size: 0.92rem;
}

.auth__msg.error {
  border-color: rgba(255, 120, 120, 0.55);
  background: rgba(255, 90, 90, 0.12);
}

.auth__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

.auth__divider::before,
.auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth__oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.auth__footnote {
  margin: 0;
  max-width: 28rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}
