/* estilos.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #1e1e2f;
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: start;
  min-height: 100vh;
}

.container {
  background: rgba(40, 40, 60, 0.85);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #00bfff;
}

.login-form table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.login-form td {
  padding: 10px;
}

.login-form .label {
  text-align: right;
  font-weight: bold;
  color: #cccccc;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 6px;
  background: #2e2e40;
  color: #fff;
}

.login-form .btn {
  background: #00bfff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-form .btn:hover {
  background: #009acd;
}

.mensaje {
  text-align: center;
  padding: 10px;
  font-weight: bold;
  background-color: #444;
  border-radius: 6px;
}

.mensaje.error {
  background-color: #cc0000;
  color: #fff;
}

.registro-link {
  color: #00bfff;
  text-decoration: none;
  font-weight: bold;
}

.registro-link:hover {
  text-decoration: underline;
}

.icono {
  width: 16px;
  vertical-align: middle;
  margin-left: 5px;
}

/* Adaptable a dispositivos móviles */
@media (max-width: 480px) {
  .container {
    padding: 20px;
  }

  .login-form .label {
    text-align: left;
  }

  .login-form table {
    font-size: 14px;
  }
}
