/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

/* Fondo general */
body {
  background: linear-gradient(180deg, #0b1120 0%, #0b1225 100%);
  color: #fff;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Contenedor */
.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Caja principal */
.login-box {
  background: #0e1528;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  text-align: center;
  width: 100%;
  max-width: 380px;
  animation: fadeIn 0.6s ease;
}

/* Logo */
.logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  font-weight: bold;
  font-size: 20px;
  color: #0b1120;
}

/* Título */
.login-box h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 5px;
}

/* Subtítulo */
.login-box p {
  color: #a3a3a3;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

/* Inputs */
form input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  margin-bottom: 15px;
  background-color: #111a33;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: 0.2s;
}

form input:focus {
  border: 1px solid #00aaff;
  box-shadow: 0 0 5px #00aaff;
}

/* Botón */
button {
  width: 100%;
  padding: 12px;
  background-color: #2563eb;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #1d4ed8;
}

/* Error */
.error {
  color: #ff4b4b;
  background-color: rgba(255, 75, 75, 0.1);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

/* Footer */
footer {
  margin-top: 30px;
  color: #808080;
  font-size: 0.8rem;
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
