.auth-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(60rem 36rem at 8% -6%, rgba(111, 195, 255, 0.22) 0%, rgba(111, 195, 255, 0) 72%),
    radial-gradient(50rem 32rem at 92% 4%, rgba(155, 89, 255, 0.20) 0%, rgba(155, 89, 255, 0) 70%),
    radial-gradient(44rem 30rem at 86% 88%, rgba(247, 147, 26, 0.17) 0%, rgba(247, 147, 26, 0) 72%),
    radial-gradient(28rem 20rem at 24% 86%, rgba(111, 202, 58, 0.12) 0%, rgba(111, 202, 58, 0) 72%),
    linear-gradient(180deg, #0a0f18 0%, #090d16 52%, #070b12 100%);
  background-attachment: fixed;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  border-radius: 14px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(20, 26, 36, 0.92), rgba(12, 16, 24, 0.92));
  border: 1px solid rgb(143 255 41 / 32%);
  backdrop-filter: blur(8px);
}

.auth-brand {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-logo {
  display: inline-flex;
  align-items: center;
}

.auth-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.auth-sub {
  opacity: 0.75;
  font-size: 13px;
  margin-top: 6px;
}

.auth-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}

.auth-desc {
  margin: 0 0 20px;
  font-size: 14px;
  opacity: 0.65;
  line-height: 1.5;
}

.auth-primary,
.oauth-btn,
.oauth-btn__label {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.auth-primary,
.oauth-btn {
  appearance: none;
  -webkit-appearance: none;
}

.auth-primary {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  cursor: pointer;
  background: #6fca3a;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.auth-primary:hover {
  background: #62b332;
}

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

.auth-errors {
  margin: 10px 0 0;
  font-size: 13px;
  color: #ffb3b3;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}

.auth-field label {
  font-size: 13px;
  opacity: 0.85;
}

.auth-field input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.auth-field select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.auth-field input::placeholder {
  color: transparent;
}

.auth-field input:focus {
  border-color: #6fca3a(111, 202, 58, 0.8);
}

.auth-field input:-webkit-autofill,
.auth-field input:-webkit-autofill:hover,
.auth-field input:-webkit-autofill:focus,
.auth-field input:-webkit-autofill:active,
.auth-field select:-webkit-autofill,
.auth-field select:-webkit-autofill:hover,
.auth-field select:-webkit-autofill:focus,
.auth-field select:-webkit-autofill:active {
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92);
  caret-color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.06) inset;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.06) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.auth-field select option {
  background: #1b2230;
  color: rgba(255, 255, 255, 0.92);
}

.auth-links {
  text-align: left;
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 12px;
}

.auth-links a {
  color: #6fca3a;
  text-decoration: none;
}

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

.auth-error {
  margin-top: 4px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #ff9b9b;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
  opacity: 0.65;
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,0.12);
}

.oauth-btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.oauth-btn__icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.oauth-btn__icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.oauth-btn__label {
  display: inline-flex;
  align-items: center;
}

.auth-primary + .oauth-btn {
  margin-top: 10px;
}

.oauth-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(111, 202, 58, 0.7);
}

.oauth-btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.oauth-note {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.35;
}

.cf-turnstile {
  display: flex;
  justify-content: center;
  margin: 20px 0 16px;
}

.auth-footer {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.85;
  text-align: center;
}

.auth-footer a {
  color: #6fca3a;
  text-decoration: none;
}

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