/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #1d3557, #457b9d);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* CONTENEDOR PRINCIPAL */
.login-page {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

/* CARD LOGIN */
.form {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px 35px;
  border-radius: 15px;
  width: 350px;
  max-width: 90%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: fadeIn 0.6s ease;
}

/* ANIMACIÓN */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form img {
  margin-bottom: 10px;
}

/* INPUT CON ICONOS */
.input-container {
  display: flex;
  align-items: center;
  background: #f1f3f6;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 15px;
  transition: 0.3s;
  border: 1px solid transparent;
}

.input-container:hover {
  border: 1px solid #457b9d;
}

.icon {
  color: #457b9d;
  margin-right: 10px;
  font-size: 16px;
}

.input-field {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
}

/* INPUT FOCUS */
.input-container:focus-within {
  border: 1px solid #1d3557;
  box-shadow: 0 0 0 2px rgba(69, 123, 157, 0.2);
}

/* BOTÓN */
.button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d3557, #457b9d);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* LINK */
.message {
  margin-top: 15px;
  font-size: 13px;
}

.message a {
  color: #1d3557;
  text-decoration: none;
  transition: 0.3s;
}

.message a:hover {
  text-decoration: underline;
}

/* HEADER (si lo usas) */
ul {
  list-style-type: none;
  background-color: #1d3557;
  overflow: hidden;
}

li {
  float: left;
}

li a {
  display: block;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover {
  background-color: #457b9d;
}

/* FOOTER */
footer {
  margin-top: auto;
  width: 100%;
  text-align: center;
  padding: 15px;
  color: white;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .form {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .form {
    width: 95%;
  }

  .input-container {
    padding: 8px;
  }

  .button {
    padding: 10px;
  }
}