/* ---------------------------------------------------------------
   ASHBOUND:Reborn — Auth CSS (login/register)
--------------------------------------------------------------- */

body {
  background: radial-gradient(ellipse at 50% -10%, #3a1f6e 0%, #0d1020 45%, #04060e 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-page {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: min(100%, 420px);
  background: linear-gradient(180deg, #111727f5, #090d18f5);
  border: 1px solid #3d4b6d;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 25px 80px #000b;
}

.auth-logo {
  text-align: center;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 22px #8c75ff;
  margin-bottom: 6px;
}

.auth-title {
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 24px;
  letter-spacing: 1px;
}

.auth-error {
  background: #2a0e14;
  border: 1px solid #c14a63;
  border-radius: 10px;
  padding: 10px 14px;
  color: #ff8795;
  font-size: 13px;
  margin-bottom: 18px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.auth-field input {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #3d4b6d;
  background: #0d1525;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color .15s;
}
.auth-field input:focus { border-color: #7a5cff; }
.auth-field input::placeholder { color: #4a5a78; }

.auth-btn {
  margin-top: 8px;
  padding: 13px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, #9b78ff, #5f36ce);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: .5px;
  transition: transform .1s, box-shadow .1s;
  box-shadow: 0 8px 25px #5a3ce655;
}
.auth-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px #5a3ce677; }

.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.auth-switch a { color: var(--violet); font-weight: 700; }
.auth-switch a:hover { color: var(--blue); }

.auth-back {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
}
.auth-back a { color: #4a5a78; }
.auth-back a:hover { color: var(--muted); }