.floating-button23 {
  position: fixed;
  bottom: 18px;
  right: 0px;
  width: 130px;
  height: 112px;
  color: white;
  z-index: 1000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content56 button:hover {
  background-color: #007bff !important;
  color: whitesmoke;
}

.popup34 {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 450px;
  overflow: hidden;
  height: 560px;
  background-color: white;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0);
  transform-origin: bottom right;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1110;
  border-radius: 20px;
}

.popup-content56 {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.hidden34 {
  display: none;
}

.popup34.show {
  opacity: 1;
  transform: scale(1);
}

#Cerrar-bot {
  position: absolute;
  top: 8px;
  right: 10px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  border: 2px solid #ffffff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#equis {
  margin-top: -5px;
}

.cuerpo {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(0, 81, 255);
  font-size: 30px;
  width: 450px;
  margin-top: -22vh;
}

.subCuerpo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  /* Llena todo el contenedor padre */
  margin-top: 0;
  /* Elimina el margen */
}

#Banner_Bot {
  display: flex;
  height: auto;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

#texto_bot {
  position: absolute;
  right: 50px;
  top: 22px;
}

#en_linea {
  font-size: 22px;
  position: absolute;
  left: 70px;
  top: 24%;
  color: white;
}

#status-circle {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #00FF00;
  border-radius: 50%;
  margin-left: 36px;
  top: 26.5%;
  box-shadow: 0 0 8px 2px #00FF00;
}

/*DiseÃ±o global de los botones*/
.cuerpo button {
  background-color: rgb(0, 81, 255);
  color: whitesmoke;
  font-weight: bold;
  border-radius: 30px;
  width: 80%;
  font-size: 30px;
  border: 0;
}

/*DiseÃ±o al estra encima del boton*/
.cuerpo button:hover {
  background-color: rgb(0, 0, 255);
}

/*Estilos de los botones*/
.cuerpo .botones {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  align-items: center;
  margin-top: 22%;
}

/*Estilo de la imagen del robot*/
.cuerpo .robot {
  width: 20%;
  height: auto;
}

/*Estilo de la imagen del logo*/
.cuerpo .logo {
  width: 60%;
  height: auto;
  margin-top: -12vh;
}

/*Estilo del texto*/
.cuerpo p {
  font-size: 27px;
  margin-top: 0;
  margin-bottom: 0;
  color: rgb(255, 255, 255);
}

.keyboard_double_arrow_left {
  position: absolute;
  /* PosiciÃ³n absoluta para colocarlo en la parte inferior */
  bottom: 20px;
  /* Ajusta la distancia desde el fondo */
  left: 50%;
  /* Centrado horizontalmente */
  transform: translateX(-50%);
  /* Ajusta la posiciÃ³n para centrarlo */
  background-color: #007BFF;
  /* Color azul */
  color: white;
  /* Flecha blanca */
  border-radius: 50%;
  /* CÃ­rculo */
  padding: 10px;
  /* Espacio alrededor de la flecha */
  font-size: 24px;
  /* TamaÃ±o de la flecha */
  cursor: pointer;
  /* Cambia el cursor al pasar el mouse */
  display: flex;
  /* Usado para centrar el contenido */
  justify-content: center;
  /* Centra horizontalmente */
  align-items: center;
  /* Centra verticalmente */
}

.keyboard_double_arrow_left:hover {
  background-color: #0056b3;
  /* Azul mÃ¡s oscuro al pasar el ratÃ³n */
}

/* TelÃ©fonos mÃ³viles pequeÃ±os */
@media (max-width: 320px) {

  .cuerpo {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 81, 255);
    font-size: 30px;
    width: 362px;
    margin-top: -29vh;
  }

  .subCuerpo {
    padding-top: 10%;
    /* Espaciado extra para pantallas muy pequeÃ±as */
  }

  .popup34 {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 450px;
    max-width: 450px;
    overflow: hidden;
    height: 560px;
    background-color: white;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1110;
    height: 74vh;
    width: 88%;
    border-radius: 20px;
    border-bottom-right-radius: 0px;
  }

  .cuerpo button {
    background-color: rgb(0, 81, 255);
    color: whitesmoke;
    font-weight: bold;
    border-radius: 30px;
    width: 80%;
    font-size: 26px;
    border: 0;
  }

  .floating-button23 {
    position: fixed;
    bottom: 20px;
    right: 0px;
    width: 14%;
    height: 16%;
    color: white;
    z-index: 1000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 20px;
  }

  #texto_bot {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #texto_bot2 {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #texto_bot3 {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #texto_bot4 {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #texto_bot5 {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #en_linea {
    font-size: 22px;
    position: absolute;
    left: 70px;
    top: 6rem;
    color: white;
  }

  #status-circle {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #00FF00;
    border-radius: 50%;
    margin-left: 36px;
    top: 112px;
    box-shadow: 0 0 8px 2px #00FF00;
  }

}

/*TelÃ©fonos mÃ³viles medianos*/
@media (min-width: 321px) and (max-width: 375px) {

  .cuerpo {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 81, 255);
    font-size: 30px;
    width: 362px;
    margin-top: -29vh;
  }

  .subCuerpo {
    padding-top: 8%;
    /* Espaciado ajustado para dispositivos medianos */
  }

  .popup34 {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 450px;
    max-width: 450px;
    overflow: hidden;
    height: 560px;
    background-color: white;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1110;
    height: 74vh;
    width: 88%;
    border-radius: 20px;
    border-bottom-right-radius: 0px;
  }

  .cuerpo button {
    background-color: rgb(0, 81, 255);
    color: whitesmoke;
    font-weight: bold;
    border-radius: 30px;
    width: 80%;
    font-size: 26px;
    border: 0;
  }

  .floating-button23 {
    position: fixed;
    bottom: 20px;
    right: 0px;
    width: 14%;
    height: 16%;
    color: white;
    z-index: 1000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 20px;
  }

  #texto_bot {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #texto_bot2 {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #texto_bot3 {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #texto_bot4 {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #texto_bot5 {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #en_linea {
    font-size: 22px;
    position: absolute;
    left: 70px;
    top: 6rem;
    color: white;
  }

  #status-circle {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #00FF00;
    border-radius: 50%;
    margin-left: 36px;
    top: 112px;
    box-shadow: 0 0 8px 2px #00FF00;
  }

}

/*TelÃ©fonos mÃ³viles grnandes*/
@media (min-width: 376px) and (max-width: 425px) {

  .cuerpo {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 81, 255);
    font-size: 30px;
    width: 362px;
    margin-top: -29vh;
  }

  .subCuerpo {
    padding-top: 6%;
    /* Menor espacio en pantallas mÃ¡s grandes */
  }

  .popup34 {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 450px;
    max-width: 450px;
    overflow: hidden;
    height: 560px;
    background-color: white;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1110;
    height: 74vh;
    width: 88%;
    border-radius: 20px;
    border-bottom-right-radius: 0px;
  }

  .cuerpo button {
    background-color: rgb(0, 81, 255);
    color: whitesmoke;
    font-weight: bold;
    border-radius: 30px;
    width: 80%;
    font-size: 26px;
    border: 0;
  }

  .floating-button23 {
    position: fixed;
    bottom: -17px;
    right: 0px;
    width: 22%;
    height: 16%;
    color: white;
    z-index: 1000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 20px;
  }

  #texto_bot {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #texto_bot2 {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #texto_bot3 {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #texto_bot4 {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #texto_bot5 {
    position: absolute;
    right: 50px;
    top: 18px;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
  }

  #en_linea {
    font-size: 22px;
    position: absolute;
    left: 70px;
    top: 6rem;
    color: white;
  }

  #status-circle {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #00FF00;
    border-radius: 50%;
    margin-left: 36px;
    top: 112px;
    box-shadow: 0 0 8px 2px #00FF00;
  }

}

/* Tabletas en modo retrato */
@media (min-width: 426px) and (max-width: 768px) {

  .cuerpo {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 81, 255);
    font-size: 30px;
    width: 450px;
    margin-top: -29vh;
  }

  .subCuerpo {
    padding-top: 4%;
    /* Ajustado para mayor espacio vertical */
  }

}

/* Tabletas en modo paisaje */
@media (min-width: 769px) and (max-width: 1020px) {
  .cuerpo {
    text-align: center;
    display: flex;
    align-items: center;
    
    justify-content: center;
    color: rgb(0, 81, 255);
    font-size: 30px;
    width: 450px;
    margin-top: -31vh;
  }

  .subCuerpo {
    padding-top: 3%;
  }

}

@media (min-width: 1021px) and (max-width: 1024px) {
  .cuerpo {
    text-align: center;
    display: flex;
    align-items: center;
    
    justify-content: center;
    color: rgb(0, 81, 255);
    font-size: 30px;
    width: 450px;
    margin-top: -3vh;
  }
}

/* Ordenadores portÃ¡tiles pequeÃ±os */
@media (min-width: 1025px) and (max-width: 1280px) {
  .subCuerpo {
    padding-top: 2%;
    /* Centrado perfecto en laptops pequeÃ±as */
  }
}

/* Monitores de PC de escritorio */
@media (min-width: 1281px) and (max-width: 1600px) {

  .subCuerpo {
    padding-top: 5%;
    /* Ajustado para monitores medianos */
  }

}

/* Monitores de PC de escritorio grandes */
@media (min-width: 1601px) and (max-width: 1920px) {
  .cuerpo {
    text-align: center;
    display: flex;
    align-items: center;
    
    justify-content: center;
    color: rgb(0, 81, 255);
    font-size: 30px;
    width: 450px;
    margin-top: -29vh;
  }

  .subCuerpo {
    padding-top: 5%;
    /* Consistente con otros monitores */
  }
}

/* Televisores y proyectores HD */
@media (min-width: 1921px) and (max-width: 2560px) {
  .cuerpo {
    text-align: center;
    display: flex;
    align-items: center;
    
    justify-content: center;
    color: rgb(0, 81, 255);
    font-size: 30px;
    width: 450px;
    margin-top: -29vh;
  }

  .subCuerpo {
    padding-top: 6%;
    /* Mayor separaciÃ³n en pantallas grandes */
  }
}

/* Televisores y proyectores 4K */
@media (min-width: 2561px) {
  .subCuerpo {
    padding-top: 8%;
    /* Ajustado para pantallas 4K */
  }
}

@media screen and (min-width: 0px) and (-webkit-min-device-pixel-ratio: 0) {

  /* CÃ³digo para navegadores basados en WebKit */
  @media (min-width: 1385px) and (max-width: 1460px) {
    .subCuerpo {
      padding-top: 0;
      /* AlineaciÃ³n natural sin mÃ¡rgenes */
    }
  }

}




#contenidoTramites {
  max-height: 400px;  /* altura mÃ¡xima, ajusta segÃºn necesites */
  overflow-y: auto;
  padding-right: 8px; /* para evitar que el scroll tape contenido */
}

/* Y mantenemos el estilo de los botones */
#contenidoTramites button {
  display: block;
  width: 90%;
  margin: 12px auto;
  padding: 12px 18px;
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid #007BFF;
  background-color: white;
  color: #007BFF;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

#contenidoTramites button:hover {
  background-color: #007BFF;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}