        body{ 
            font-family:Arial,sans-serif; 
            margin: 50px 360px 30px 50px; 
            text-align: justify; 
            background:#f4f4f4;}
        h1{
            color: #21618c;
            margin-bottom: 10px;
            border-bottom: none;
        }
.tooltip {
  position: relative;
  cursor: help;
  display: inline-block;
}

/* Caja del tooltip con efecto 3D */
.tooltip .tooltip-text {
  visibility: hidden;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  
  /* Fondo y borde */
  background: linear-gradient(135deg, #0c5688, #083954);
  color: #f5f7fb;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #021d30;
  
  /* Sombra para efecto 3D */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  
  /* Texto con ligero relieve */
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  
  /* Control de tamaño */
  width: 340px;
  white-space: normal;
  line-height: 1.3;

  z-index: 20;
  opacity: 0;
  transform-origin: bottom center;
  /* Animación suave (zoom + fade + ligera subida) */
  transition: opacity 0.25s ease, transform 0.25s ease;
}
/* Flechita con sombra para 3D */
.tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -7px;
  border-width: 7px;
  border-style: solid;
  border-color: #083954 transparent transparent transparent;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}
/* Efecto al pasar el cursor */
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-4px) scale(1.02);
}

/* strong dentro del tooltip, con aspecto destacado 3D */
.tooltip .tooltip-text strong {
  color: #ffeb3b;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
strong{
    color: #3daaf2;
}
strong{
    color: #0570b8;
}
span > strong{
  color: rgb(200, 27, 79);
}

            #sugerencias {
            border: 1px solid #ccc;
            max-height: 200px;
            overflow-y: auto;
            background: #fff;
            position: absolute;
            width: 100%;
            z-index: 10;
        }

        .opcion-sugerencia {
            padding: 4px 8px;
            cursor: pointer;
        }

        .opcion-sugerencia:hover {
            background: #f0f0f0;
        }
        
		.modal-overlay {
  position: fixed;        /* importante */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;          /* muy por encima del resto */
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-overlay.mostrar {
  opacity: 1;
  visibility: visible;
}
.modal-contenido {
  position: relative;   /* crea contexto interno */
  background: white;
  border-radius: 10px;
  padding: 20px;
  max-width: 1000px;
  width: 90%;
  text-align: center;
  z-index: 1000;       /* opcional, por encima del overlay */
}

.modal-imagen {
  max-width: 70vw;   /* máximo 80% del ancho de la ventana */
  max-height: 70vh;  /* máximo 80% de la altura de la ventana */
  width: auto;
  height: auto;
  border-radius: 10px;
}


  /* este es el estilo para el menu desplegable (navbar) */

  /* Barra principal */
.navbar {
  background: #c8dbf1;
  border-radius: 1cap;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu > li {
  position: relative;      /* necesario para posicionar el submenú */
  font-size:1.3rem;
  font-weight:bold;
}

.menu > li > a {
  display: block;
  padding: 15px 20px;
  color: #114231;
  text-decoration: none;
  border-radius: 1cap;
  font-size:1.3rem;
  font-weight:bold;
}
.nav-container {
  max-width:1100px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 12px;
}
.nav-logo {
  color:#114231;
  text-decoration:none;
  font-weight:bold;
  font-size:1.5rem;
}

/* Submenús ocultos por defecto */
.submenu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: #c8dbf1;
  min-width: 180px;
  display: none;           /* oculto al inicio */
  border-radius: 1cap;
}

/* Estilo de los enlaces del submenú */
.submenu-items li a {
  display: block;
  padding: 10px 15px;
  color: #114231;
  text-decoration: none;
  border-radius: 1cap;
}

/* Mostrar submenú al pasar el mouse */
.submenu:hover .submenu-items {
  display: block;
}

/* Efectos hover */
.menu > li > a:hover,
.submenu-items li a:hover {
  background: #a8c7eb;
}
.tooltip {
  position: relative;
  cursor: help;
  display: inline-block;
}

/* Caja del tooltip con efecto 3D */
.tooltip .tooltip-text {
  visibility: hidden;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);

  /* Fondo y borde */
  background: linear-gradient(135deg, #0c5688, #083954);
  color: #f5f7fb;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #021d30;

  /* Sombra para efecto 3D */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);

  /* Texto con ligero relieve */
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);

  /* Tamaño */
  width: 340px;
  white-space: normal;
  line-height: 1.3;

  z-index: 20;
  opacity: 0;
  transform-origin: bottom center;
  /* Animación suave */
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Flechita con sombra para 3D */
.tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -7px;
  border-width: 7px;
  border-style: solid;
  border-color: #083954 transparent transparent transparent;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}

/* Mostrar tooltip al pasar el cursor (PC) */
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-4px) scale(1.02);
}

/* Mostrar tooltip cuando tenga la clase .show (móvil/PC) */
.tooltip.show .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-4px) scale(1.02);
}

/* strong dentro del tooltip, con aspecto destacado 3D */
.tooltip .tooltip-text strong {
  color: #ffeb3b;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

table > td, th {
  border: 0.5px solid #000;
  text-align: center;
  background:linear-gradient(#cde4f5,#46a5ed);color:#040404
}
table, th, td {
  border: 0.5px solid #000;
}