.eisi-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.eisi-popup .popup-content {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  /* largura máxima em %; altura ajusta de acordo com conteúdo */
  width: 60%;
  max-width: 800px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: width 0.3s ease;
}

/* imagens */
.desktop-image { display: block; }
.mobile-image  { display: none; }
@media (max-width: 768px) {
  .desktop-image { display: none; }
  .mobile-image  { display: block; }
}

/* botão fechar */
.eisi-popup #eisi-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* botão na imagem */
.popup-overlay-button {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  font-size: 12px;
}

/* botão abrir */
#eisi-popup-open-button {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 10000;
}


      .button-eisi-popup span {
        display: inline-block;
        line-height: 1.6;
        font-family: "Quicksand-Light", sans-serif;
        background: transparent;
        padding: 5px 22px;
        border-radius: 90px 90px;
    }


form#eisi-fpc-form {
  padding: 20px 50px 0px 40px;
}

.eisi-fpc-response {
    padding: 20px; 
    text-align: center;
}


.title1 {
  color: #1a7b34;
} 

.title2 {
  margin: 0px;
} 

.title3{
  color: #c31414;
}

div#eisi-fpc-response {
    text-align: center; 
}




@media (max-width: 768px) {
  .eisi-popup .popup-content {
    /* faz o conteúdo ocupar praticamente toda a largura, mas com 20px de margem em cada lado */
    width: calc(100% - 40px) !important;
    margin: 20px auto !important;
    /* opcional: limita altura para não estourar a viewport */
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }
}