body.auth-terminal {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #000000;
  color: #00ffff;
  font-family: "Courier New", Consolas, monospace;
}

.login-card {
  border: 1px solid #00ffff;
  box-shadow: 0 0 15px #00ffff;
  padding: 20px;
}

.auth-card {
  width: min(460px, 92vw);
  border: 1px solid #00ffff;
  border-radius: 10px;
  box-shadow: 0 0 10px #00ffff;
  background: #050505;
  padding: 1.25rem;
}

.auth-card.login-card {
  box-shadow: 0 0 15px #00ffff;
}

.auth-title {
  margin: 0 0 0.35rem;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.12rem;
}

.auth-subtitle {
  margin: 0 0 0.95rem;
  color: #00ffff;
  opacity: 0.8;
  font-size: 0.8rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.auth-label {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  font-size: 0.78rem;
}

.auth-tos-row .auth-tos-check {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.35;
}

.auth-tos-row input[type="checkbox"] {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.auth-tos-row a {
  color: #00ffff;
  text-decoration: underline;
}

input {
  background: #000;
  border: 1px solid #00ffff;
  color: #00ffff;
  padding: 10px;
}

.auth-input {
  border: 1px solid #00ffff;
  border-radius: 6px;
  background: #090909;
  color: #00ffff;
  padding: 0.56rem 0.65rem;
  outline: none;
  font-family: inherit;
}

.auth-input:focus {
  box-shadow: 0 0 10px #00ffff;
}

button {
  background: #00ffff;
  color: #000;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.auth-btn {
  margin-top: 0.25rem;
  border: 1px solid #00ffff;
  border-radius: 6px;
  background: #001515;
  color: #00ffff;
  padding: 0.62rem 0.7rem;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.auth-btn:hover {
  box-shadow: 0 0 10px #00ffff;
}

.auth-links {
  margin-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.78rem;
}

.auth-links a {
  color: #00ffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-message {
  min-height: 1.1rem;
  margin-top: 0.72rem;
  font-size: 0.82rem;
}

.auth-message.success {
  color: #00ffff;
}

.auth-message.error {
  color: #ff0000;
  animation: blink-error 0.65s steps(2, jump-none) infinite;
}

@keyframes blink-error {
  50% {
    opacity: 0.2;
  }
}
