:root{
  --bg-deep: #0A0A0B;
  --bg-panel: #19191B;
  --accent-red: #ED1C24;
  --text-hi: #F5F5F5;
  --text-lo: #9C9C9F;
}

* { box-sizing: border-box; }

html {
  margin: 0;
  height: 100%;
}

body {
  margin: 0;
  height: 100%;
  background:
    radial-gradient(circle at 12% 8%, rgba(237,28,36,0.16), transparent 45%),
    radial-gradient(circle at 88% 90%, rgba(237,28,36,0.10), transparent 45%),
    var(--bg-deep);
  color: var(--text-hi);
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-panel);
  border: 1px solid rgba(237,28,36,0.2);
  border-radius: 16px;
  padding: 30px 28px 28px;
  box-shadow: 0 0 0 1px rgba(237,28,36,0.15), 0 20px 60px rgba(0,0,0,0.6);
}

.auth-card .logo {
  display: block;
  height: 22px;
  width: auto;
  margin: 0 auto 18px;
}

.auth-card h1 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 4px;
  color: var(--text-hi);
}

.auth-card .subtitle {
  text-align: center;
  color: var(--text-lo);
  font-size: 13px;
  margin: 0 0 22px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-lo);
  margin: 14px 0 6px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #101011;
  color: var(--text-hi);
  font-size: 14px;
  font-family: inherit;
}

input:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(237,28,36,0.2);
}

button.submit {
  width: 100%;
  margin-top: 20px;
  padding: 11px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(90deg, var(--accent-red), #B0141A);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(237,28,36,0.35);
  transition: transform 0.15s ease;
}
button.submit:hover { transform: translateY(-1px); }
button.submit:active { transform: translateY(0); }

.switch-link {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-lo);
}
.switch-link a {
  color: var(--accent-red);
  text-decoration: none;
  font-weight: 600;
}
.switch-link a:hover { text-decoration: underline; }

.errors {
  background: rgba(237,28,36,0.12);
  border: 1px solid rgba(237,28,36,0.35);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 4px;
}
.errors ul { margin: 0; padding-left: 18px; }
.errors li { font-size: 13px; color: #FFD3D5; margin: 2px 0; }

.hint {
  font-size: 11px;
  color: var(--text-lo);
  margin-top: 4px;
}
