/* assets/css/auth.css */

/* ----------------------
   Auth (login / signup)
-------------------------*/
.auth-card {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  padding: 2.2rem 2.1rem 2.3rem;
  border-radius: 1.4rem;
  background: radial-gradient(circle at top left, rgba(20, 20, 34, 0.85), rgba(5, 5, 9, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 22px 44px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(22px);
}

.banned-auth-card {
  width: 100%;
  margin-inline: auto;
  padding: 2.2rem 2.1rem 2.3rem;
  border-radius: 1.4rem;
  background: radial-gradient(circle at top left, rgba(20, 20, 34, 0.85), rgba(5, 5, 9, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 22px 44px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(22px);
}

.auth-title {
  font-size: clamp(2.1rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  margin-bottom: 2rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.auth-field label {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: .3rem;
}

.auth-field input {
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 6, 12, 0.9);
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.auth-field input::placeholder {
  color: rgba(160, 160, 170, 0.7);
}

.auth-field input:focus {
  border-color: var(--accent);
  background: rgba(10, 10, 18, 0.98);
  box-shadow:
    0 0 0 1px rgba(226, 169, 241, 0.5),
    0 0 24px rgba(226, 169, 241, 0.35);
}

.auth-button {
  margin-top: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #050507;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.8),
    0 18px 36px rgba(0, 0, 0, 1);
  transition:
    transform 0.15s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.auth-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(226, 169, 241, 0.65),
    0 24px 48px rgba(0, 0, 0, 1);
}

.auth-button:active {
  transform: translateY(0);
  box-shadow:
    0 0 0 1px rgba(226, 169, 241, 0.45),
    0 14px 28px rgba(0, 0, 0, 0.9);
}

.auth-switch {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.auth-switch a:hover {
  color: #fbe8ff;
  border-color: var(--accent);
}

.auth-messages {
  margin-bottom: 1.4rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
}

.auth-messages--error {
  background: rgba(179, 57, 81, 0.14);
  border: 1px solid rgba(255, 99, 132, 0.5);
  color: #ffd4dd;
}

.auth-messages ul {
  list-style: disc;
  margin-left: 1.2rem;
}

@media (max-width: 720px) {
  .auth-card {
    padding: 1.8rem 1.4rem 2rem;
  }
}