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

body {
  background-color: #2c5a89;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.LogoHilet{
  border-radius: 30px 0px 0px 30px;
  min-height: 441px;          /* más compacto */
  max-width: 430px; 
}

.loginTitulo {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1rem;
  z-index: 10;
  text-align: center;
  font-family: system-ui;

  /* ESTILO VISUAL DEL FONDO */
  background-color: rgba(0, 0, 0, 0.3); 
  padding: 1rem 2rem;
  border-radius: 15px;
  backdrop-filter: blur(4px); /*  suaviza detrás si hay transparencia */
}

.loginContenedor {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
padding: 1.5rem 2rem;
  border-radius: 0px 30px 30px 0px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  min-height: 440px;          /* más compacto */
  max-width: 410px;           /* menos ancho */

  display: flex;
  flex-direction: column;
}

form {
  width: 100%;
  flex-grow: 1;               /* ocupa espacio restante */
  display: flex;
  flex-direction: column;
  justify-content: center;    /* centra verticalmente */
  gap: 1.2rem;
  margin-top: 0;
}

.inputLogin {
  width: 100%;
  padding: 1.1rem;
  border: 1px solid #cbd5e0;
  border-radius: 12px;
  font-size: 1.1rem;
  background-color: #f0f6ff;
  margin-top: 0;              /* quitar márgenes extras */
}

.inputLogin:focus{
  border-color: black;
}

.loginBoton {
  width: 100%;
  padding: 1.2rem;
  border: none;
  border-radius: 12px;
  background-color: #2c5a89;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: -7px -3px 12px 9px rgba(0, 0, 0, 0.34);
}

.contenedorContraseña {
  position: relative;
  width: 100%;
}

.contenedorContraseña input {
  padding-right: 3rem; /* espacio para el ícono */
}

.ocultar {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.ocultar:hover {
  opacity: 1;
}


.loginBoton:hover {
  background-color: #23476b;
}

.opciones {
  text-align: center;
  font-size: 1rem;
  margin-top: 1rem;
}

.opciones a {
  color: #2c5a89;
  text-decoration: none;
}

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

.footer {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.footer a {
  color: #2c5a89;
  text-decoration: none;
}

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

/* Modal general */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

/* Contenido de la ventana */
.modalContenido {
  background-color: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

/* Botón de cerrar */
.cerrarModal {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border: none;
  background-color: #2c5a89;
  color: white;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.boton-cerrar:hover {
  background-color: #1d3c63;
}