/* auth.css — дизайн формы как на скрине */

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #2b0505, #050306 55%, #020203);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color: #fff;
}

.auth-card {
  width: 360px;
  max-width: 92vw;
  background: #07070a;
  border-radius: 28px;
  padding: 26px 26px 26px;
  box-shadow:
    0 24px 80px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,255,255,0.04);
}

.auth-logo {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.auth-logo span:first-child {
  color: #ff4b4b; /* KinoFox — белый + красный */
}

.auth-logo span:nth-child(2) {
  color: #ffffff;
}

.auth-logo span:nth-child(3) {
  color: #ff7a00;
}

.auth-logo .fox {
  margin-left: 4px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.auth-tab {
  flex: 1;
  border-radius: 999px;
  padding: 10px 0;
  border: 1px solid #26262a;
  background: #09090d;
  color: #f2f2f2;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}

.auth-tab.active {
  background: linear-gradient(135deg, #ff4b3c, #ff7a00);
  color: #000;
  box-shadow: 0 12px 30px rgba(0,0,0,0.8);
  border-color: transparent;
}

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

.auth-label {
  font-size: 0.78rem;
  color: #c0c0c8;
  margin-bottom: 4px;
}

.auth-input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid #222228;
  background: #050507;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}

.auth-input::placeholder {
  color: #6a6a73;
}

.auth-input:focus {
  border-color: #ff7a00;
}

.auth-button {
  margin-top: 10px;
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 11px 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg,#ff4b3c,#ff7a00);
  color: #000;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(0,0,0,0.9);
}

.auth-button:hover {
  filter: brightness(1.03);
}

.auth-bottom-link {
  margin-top: 12px;
  font-size: 0.78rem;
  text-align: center;
  color: #ff9a2e;
}

.auth-bottom-link a {
  color: inherit;
}

.auth-error {
  background: #2a1013;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.78rem;
  color: #ffb3b3;
  border: 1px solid rgba(255,92,92,0.5);
  margin-bottom: 10px;
}

.auth-success {
  background: #12261a;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.78rem;
  color: #9dffb3;
  border: 1px solid rgba(80,230,150,0.5);
  margin-bottom: 10px;
}
