/* ============================================================
   🎨 Estilo general del login del CEIP
   Colores institucionales: Azul rey (#0033A0) y Amarillo oro (#FFD700)
   ============================================================ */

/* ====== ESTILO GENERAL ====== */
body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0033A0, #001F66);
  height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ====== CONTENEDOR PRINCIPAL ====== */
.contenedor {
  background: #ffffff;
  border-radius: 25px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
  width: 400px;
  padding: 40px 50px;
  text-align: center;
  animation: popIn 0.8s ease-out;
}

/* ====== TÍTULO INSTITUCIONAL ====== */
.titulo {
    background-color: #001F66;
    padding: 15px;
  color: #FFD700;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 25px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  letter-spacing: 1px;
  border-radius: 10px;
}

/* ====== FORMULARIO ====== */
form {
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

h1 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #0033A0;
}

input {
  background-color: #f3f3f3;
  border: none;
  padding: 12px 15px;
  margin: 10px 0;
  width: 90%;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 51, 160, 0.4);
  background-color: #fff;
}

/* ====== BOTÓN ====== */
button {
  border-radius: 25px;
  border: 2px solid #0033A0;
  background-color: #0033A0;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background-color: #FFD700;
  border-color: #FFD700;
  color: #0033A0;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* ====== ANIMACIONES ====== */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 1.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== RESPONSIVO ====== */
@media (max-width: 480px) {
  .contenedor {
    width: 90%;
    padding: 30px;
  }

  .titulo {
    font-size: 18px;
  }
}
