/* ============================================================
   AUTH — стили страницы авторизации
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  color: #e8f0ff;
  background: radial-gradient(circle at 50% 0%, #1a2540 0%, #05070f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 360px;
  padding: 32px;
  border-radius: 16px;
  background: #131a2c;
  border: 2px solid #223055;
  box-shadow: 0 0 40px rgba(0, 224, 255, .15);
}

.auth-card h1 {
  margin-bottom: 20px;
  color: #00e0ff;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 20px;
  text-align: center;
  text-shadow: 0 0 12px rgba(0, 224, 255, .6);
}

.auth-card label {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #9fb0d0;
}

.auth-card input {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #2c3d68;
  background: #0a0f1c;
  color: #e8f0ff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.auth-card input:focus {
  border-color: #00e0ff;
  box-shadow: 0 0 10px rgba(0, 224, 255, .4);
}

.auth-card button {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #00e0ff;
  color: #000;
  font-family: inherit;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: .2s;
}

.auth-card button:hover {
  background: #66ecff;
  box-shadow: 0 0 18px rgba(0, 224, 255, .6);
}

.auth-error {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 46, 77, .5);
  background: rgba(255, 46, 77, .12);
  color: #ff6b7d;
  font-size: 13px;
  letter-spacing: .5px;
}

/* Поле пароля с кнопкой «показать» */
.pass-field {
  position: relative;
  margin-top: 6px;
}
.pass-field input {
  padding-right: 42px;
}
.auth-card .pass-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  left: auto;
  transform: translateY(-50%);
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #9fb0d0;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s, transform .15s;
}
.auth-card .pass-toggle:hover {
  color: #00e0ff;
  transform: translateY(-50%) scale(1.1);
}

.auth-card .error-code {
  font-size: 64px;
  font-weight: 900;
  color: #ff2e4d;
  text-align: center;
  text-shadow: 0 0 18px rgba(255, 46, 77, .6);
}

.auth-card .error-text {
  margin: 12px 0 20px;
  color: #9fb0d0;
  font-size: 14px;
  text-align: center;
}

.auth-card a.back-link {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: var(--btn-bg, #1a2540);
  color: #00e0ff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: .2s;
}

.auth-card a.back-link:hover {
  background: #24365e;
  box-shadow: 0 0 14px rgba(0, 224, 255, .4);
}