.custom-modal-overlay-721 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0; /* Añadido para mejor cobertura */
  bottom: 0; /* Añadido para mejor cobertura */
  width: 100vw; /* Cambiado a viewport width */
  height: 100vh; /* Cambiado a viewport height */
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -100; /* Aumentado para asegurar que está por encima */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto; /* Asegura que el overlay es clickeable */
  overflow: hidden; /* Previene scroll */
}

.custom-modal-overlay-721 .custom-modal {
  position: fixed;
  left: 50%;
  bottom: -100%;
  transform: translateX(-50%);
  background: rgb(158, 158, 158);
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  z-index: 10000;
  transition: bottom 0.3s ease;
  overflow: hidden;

  background: #0C4783;
}

.custom-modal-overlay-721 .custom-modal.active {
  bottom: 50%;
  transform: translate(-50%, 50%);
}

.custom-modal-overlay-721 .custom-modal .custom-modal-close-654 {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 32px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f0f0ce;
  transition: background 0.3s ease;
  z-index: 2;
}

.custom-modal-overlay-721 .custom-modal .custom-modal-close-654:hover {
  background: #e0e0e0;
}

.custom-modal-overlay-721 .custom-modal .custom-modal-content-432 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.custom-modal-overlay-721 .custom-modal .custom-modal-content-432 > h2,
.custom-modal-overlay-721 .custom-modal .custom-modal-content-432 > h3 {
  color: white;
  font-size: 2.8rem;
  text-align: center;
}

.custom-modal-overlay-721 .custom-modal .custom-modal-content-432 > h2 {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.custom-modal-overlay-721 .custom-modal .custom-modal-content-432 > h3 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.custom-modal-overlay-721 .custom-modal .custom-modal-content-432 .text-amarillo {
  color: #eeb64b;
}

.custom-modal-overlay-721 .custom-modal .custom-modal-content-432 .arrow-right {
  font-size: 65px;
  line-height: 56px; 
  letter-spacing: -8px;
  margin-right: 0.5rem;
}

.custom-modal-overlay-721 .custom-modal .custom-modal-content-432 .footer-modal {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1rem;
}

.custom-modal-overlay-721 .custom-modal .custom-modal-content-432 .footer-modal .logo-muni {
  width: 120px;
}

.custom-modal-overlay-721 .custom-modal .custom-modal-content-432 .footer-modal .button-close-modal-543 {
  background-color: white;
  font-weight: 400;
  border-radius: 0.5rem;
  color: #222;
}

.custom-modal-overlay-721 .custom-modal .custom-modal-content-432 .footer-modal .button-close-modal-543:hover {
  background-color: rgb(231, 231, 231);
}

@media screen and (max-width: 675px) {
  .custom-modal-overlay-721 .custom-modal .custom-modal-content-432 > h2,
  .custom-modal-overlay-721 .custom-modal .custom-modal-content-432 > h3 {
    font-size: 2.25rem;
  }
}

@media screen and (max-width: 560px) {
  .custom-modal-overlay-721 .custom-modal .custom-modal-content-432 .text-amarillo {
    display: block;
  }

  .custom-modal-overlay-721 .custom-modal .custom-modal-content-432 .arrow-right {
    display: none;
  }

  .custom-modal-overlay-721 .custom-modal .custom-modal-content-432 .footer-modal .logo-muni {
    width: 100px;
  }

  .custom-modal-overlay-721 .custom-modal {
    padding: 1rem;
  }

  .custom-modal-overlay-721 .custom-modal .custom-modal-content-432 .footer-modal .responsive-message {
    display: none;
  }

  .custom-modal-overlay-721 .custom-modal .custom-modal-content-432 > h2 {
    margin-bottom: 1rem;
  }
}
