
/* WHERE'S THE FUNCTION — AUTHENTICATION */

.auth-main {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 20px;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(113, 45, 180, 0.18), transparent 55%),
    #08070c;
}

.auth-card {
  width: 100%;
  max-width: 490px;
  padding: 44px 38px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 22px;
  background: #121019;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.auth-eyebrow {
  color: #b994ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
}

.auth-card h1 {
  margin: 16px 0;
  color: #f7f4fc;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.15;
  text-align: center;
}

.auth-card h1 em {
  color: #d4af37;
  font-style: normal;
}

.auth-intro {
  margin-bottom: 30px;
  color: #aaa4b5;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.auth-field {
  margin-bottom: 20px;
}

.auth-field label {
  display: block;
  margin-bottom: 8px;
  color: #e8e2ef;
  font-size: 13px;
  font-weight: 600;
}

.auth-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid #3a3446;
  border-radius: 10px;
  background: #1b1723;
  color: #fff;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field input:focus {
  border-color: #a46af0;
  box-shadow: 0 0 0 3px rgba(164, 106, 240, 0.15);
}

.auth-password-hint {
  margin: -6px 0 22px;
  color: #aaa4b5;
  font-size: 12px;
}

.auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 25px;
  color: #bbb5c7;
  font-size: 12px;
  line-height: 1.6;
}

.auth-checkbox input {
  margin-top: 3px;
  accent-color: #a46af0;
}

.auth-checkbox a,
.auth-switch a,
.auth-footer a {
  color: #d4af37;
  text-decoration: none;
}

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

.auth-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #d4af37, #f0cf65);
  color: #120e17;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
}

.auth-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.auth-message {
  margin-top: 16px;
  font-size: 13px;
  text-align: center;
}

.auth-switch {
  margin-top: 28px;
  color: #aaa4b5;
  font-size: 13px;
  text-align: center;
}

.auth-footer {
  padding: 24px 20px 35px;
  background: #08070c;
  color: #817b8b;
  font-size: 12px;
  text-align: center;
}

.auth-footer p {
  margin: 8px 0;
}

@media (max-width: 600px) {
  .auth-main {
    padding: 35px 16px;
  }

  .auth-card {
    padding: 32px 22px;
    border-radius: 16px;
  }

  .auth-card h1 {
    font-size: 30px;
  }
}
/* Check-email page: centre the login button */
.auth-card .check-email-action {
  display: flex;
  justify-content: center;
  width: 100%;
}

.auth-card .check-email-action .auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
}
