/* Estilos generales */
body {
  font-family: 'Roboto', sans-serif;
  background: url('../assets/images/Arance_login.jpg') no-repeat center center fixed;
  background-size: cover;
  background-position: center 0px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  padding-right: 20px;
}

.menu-toggle {
  display: none;
}



/* Estilos del Header */
.header {
  background: #074B96;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: relative; /* IMPORTANTE para que la línea amarilla se fije correctamente */
  height: 60px; /* Define una altura fija si es necesario */
}

.header img {
  padding-left: 200px;
  width: 100px;
  max-width: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  padding-right: 250px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}

/* Línea amarilla debajo del header */


.yellow-line {
  width: 1020px;
  height: 5px;
  background: #FFD400;
  margin: 0 auto;
}

/* Contenedor Principal */
.main-container {
  display: flex;
  justify-content: flex-start; /* Mantiene el diseño sin centrar todo */
  align-items: center;
  flex: 1;
  min-height: 90vh; /* Asegura que el contenido ocupe suficiente espacio */
  position: relative; /* Mantiene la estructura correcta */
}

.content-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 50px auto;
  padding: 0;
  gap: 40px;
}

.left-side {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding-right: 0px;
  padding-top: 100px;
}


/* Logo Arancel */
.logo {
  width: 400px;
  max-width: 100%;
}

.right-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 200px;
  padding-top: 100px;
  gap: 20px;
}

/* Login Container */
.login-container {
  width: 320px;
  background: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Título "Bienvenido" */
.title {
  color: #074B96;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

/* Contenedor de inputs */
.input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  padding: 5px;
  border-radius: 8px;
  border: 2px solid #074B96;
  margin-bottom: 15px;
  width: 95%;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Íconos en los inputs */
.input-group .icon {
  margin-right: 10px;
}

.input-group .icon img {
  width: 22px;
}

/* Estilos del input */
.input-group input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 16px;
  padding: 5px;
  background: transparent;
  color: #074B96;
}

.input-group input::placeholder {
  color: #074B96;
  font-weight: bold;
}

/* Botón de Ingresar */
button {
  background: #003580;
  color: white;
  border: none;
  padding: 12px 20px;
  width: 100%;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

button:hover {
  background: #002966;
}

.forgot-password {
  display: block;
  margin-top: 15px; /* 👈 aquí puedes ajustar el espacio */
  color: #074B96;
  text-decoration: none;
  font-size: 14px;
  text-align: center; /* opcional si quieres alinearlo a la derecha */
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Contenedor de Suscripción y Links */
.subscription-wrapper {
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.centrado {
  margin: 0 auto;
  width: fit-content;
  color: white;
  font-size: clamp(10px, 1.6vw, 14px); /* se adapta */
  gap:20px;
}

/* Botón de Suscripción */
.subscription-button {
  background: #074B96;
  color: white;
  padding: 10px 15px;
  font-weight: bold;
  border-radius: 5px;
  border: 2px solid white;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
  width: fit-content;
  font-size: clamp(10px, 1.6vw, 14px); /* se adapta */
  transform-origin: left center;
  scale: 1; /* Esto puede ser útil para transiciones si quieres */
}



.subscription-button:hover {
  background: #023E73;
}

/* Enlaces de información */
.info-links {
  display: flex;
  justify-content: space-between;
  gap:20px;
  flex-wrap: wrap; /* Por si se reduce el ancho en pantallas pequeñas */
  width: 100%;
  max-width: 350px; /* Ajusta según el espacio disponible */
  margin-top: 10px;
}

.info-links a {
  flex: 1;
  text-align: center;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.info-links a:first-child {
  text-align: right;
  font-size: clamp(12px, 1.2vw, 14px); /* 🔹 Se adapta al ancho */
  line-height: 1.3;
  white-space: normal;
  display: block; /* 🔹 Evita recortes */
  max-width: 100%;
  
}

.info-links a:last-child {
  text-align: center;
}

.info-links a:hover {
  text-decoration: underline;
}




/* Footer */
.footer {
  background-color: transparent;
  padding: 40px 0;
  text-align: center;
}

/* Contenedor principal del footer */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 🔹 Importante: alinea arriba todos los bloques */
  gap: 40px;
  padding: 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Bloques dentro del footer */
.footer-block {
  flex: 1;
  padding: 20px;
  text-align: left;
  padding-left: 30px;
}

.with-divider {
  position: relative;
  padding-left: 30px; /* o lo que uses para separar contenido de la línea */
}

.with-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 60%; /* 🔹 Empieza desde la mitad */
  transform: translateY(-50%); /* 🔹 Centra verticalmente */
  height: 120px; /* 🔹 Aquí defines la altura real de la línea */
  width: 2px;
  background-color: white;
}

.footer-block2 h5 {
  font-size: 16px;
  font-weight: bold;
  color: yellow;
  margin-bottom: 25px;
  text-align: center;
}

.footer-block2 img {
  width: auto;    /* o el tamaño que desees */
  height: 35px;   /* mantiene la proporción */
  margin: 0 10px;  /* separa un poco entre íconos */
}

/* Primera columna (Logo y texto) */
.footer-block:first-child {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 15px;
}

.footer-block img {
  width: 80px; /* Tamaño del logo */
  height: auto;
}

/* Asegurar que el contenido del texto en la primera columna no se desborde */
.footer-block .footer-text {
  max-width: 350px;
}
/* Estilos del texto del footer */
.footer-block p {
  font-size: 14px;
  color: white;
  margin: 0;
}

.footer-block h4 {
  font-size: 16px;
  font-weight: bold;
  color: yellow;
  margin-bottom: 5px;

}



/* Enlaces del footer */
.footer-block a {
  display: inline-block;
  margin-top: 5px;
  color: yellow;
  text-decoration: none;
  font-weight: bold;
}

.footer-block a:hover {
  text-decoration: underline;
}

/* Redes Sociales */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons img {
  width: 40px; /* Ajusta el tamaño de los iconos */
  height: auto;
}

/* Footer Bottom */
.footer-bottom {
display: flex;
justify-content: space-between;
align-items: flex-start;
background-color: #074B96;
color: white;
padding: 15px 30px;
font-size: 14px;
flex-wrap: wrap;

}

.footer-bottom-left,
.footer-bottom-right {
display: flex;
flex-direction: column;

}

.footer-bottom-right {
margin: 0;
line-height: 0.4;
}



.footer-separator-line {
  height: 2px;
  background-color: white;
  width: 100%;
}







/* Responsive */



/* -------------------- TABLET -------------------- */
@media screen and (max-width: 1024px) {

  .header {
    justify-content: space-between;
  }

  .header img {
    padding-left: 40px;
  }

  .nav-links {
    padding-right: 40px;
    gap: 20px;
    font-size: 14px;
  }

  .yellow-line {
    width: 90%;
  }

  .content-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
  }

  .left-side,
  .right-side {
    padding: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .right-side {
    align-items: center;
  }

  .login-container,
  .subscription-wrapper {
    width: 90%;
    max-width: 350px;
  }

  .centrado {
    width: 90%;
    max-width: 350px;
    color: white;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-block,
  .footer-block2 {
    padding: 20px 10px;
    text-align: center;
  }

  .with-divider::before {
    display: none;
  }
}


/* -------------------- MÓVIL -------------------- */
@media screen and (max-width: 640px) {
  .header {
    justify-content: space-between;
  }


  .header img {
    margin-left: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    padding-right: 0;
  }

  .yellow-line {
    width: 100%;
  }

  .logo {
    width: 80%;
  }

  .login-container,
  .subscription-wrapper {
    width: 95%;
    max-width: 100%;
  }

  .centrado {
    width: 90%;
    max-width: 350px;
    color: white;
  }

  .subscription-button {
    width: 95%;
    padding: 10px 15px;
    text-align: center;
  }

  .info-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    gap: 15px; /* Espacio entre los enlaces */
  }

  .info-links a:first-child,
  .info-links a:last-child {
    text-align: center;
  }

  .footer-container {
    padding: 20px;
  }

  .footer-block img {
    margin-bottom: 10px;
  }

  .menu-icon {
      display: block;
      position: absolute;
      top: 18px;
      right: 20px;
      z-index: 2000;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      background-color: #074c9696;
      width: 100%;
      position: absolute;
      top: 60px;
      left: 0;
      padding: 50px 0;
      z-index: 1000;
    }
  
    .menu-toggle:checked + .menu-icon + nav .nav-links {
      display: flex;
    }
  
    .nav-links li {
      margin: 10px 0;
      margin-left: 40px;
    }
  }





