.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.popup-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 984px;
  height: 450px;
  max-height: 87dvh;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-top: 20px;

  @media (max-width: 767px) {
    padding: 12px;
    width: 100%;
  }
}

.form-popup-content {
  max-width: 500px !important;
}

.team-popup-content{
  width: 460px !important;
}

.close-button {
  display: inline-block;
  cursor: pointer;
  font-size: 18px;
  color: #444;
}

.popup-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;

  html {
    ::-webkit-scrollbar {
      width: 4px;
    }

    ::-webkit-scrollbar-track {
      background-color: #eaeaea;
    }

    ::-webkit-scrollbar-thumb {
      background-color: rgb(200, 200, 200);
      border-radius: 4px;
    }
  }
}


.floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: auto;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1000;
  height: 45px;
  padding: 0 30px;
  border-radius: 25px;
  box-shadow: rgba(0, 0, 0, 0.25) 0 2px 5px;
  font-family: sans-serif;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  font-size: 14px;
}

.link-button {
  background-color: transparent;
  color: #0069e5;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  line-height: 22px;
  cursor: pointer;
  font-size: 16px;
  z-index: 1000;
  text-decoration: underline;
}

.iframe-popup,
#iframePopup {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 900px;
  height: 600px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  z-index: 1000;
}

#iframeContainer,
#iframeFormContainer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#iframeContainer{
  min-height: 405px;
}

#iframeFormContainer iframe {
  width: 500px;
  min-height: 100%;
  overflow-x: hidden;
  border: none;
  border-radius: 8px;
  max-width: 993px;

  @media (max-width: 767px) {
    width: 100%;
  }
}

#iframeContainer iframe {
  width: 993px;
  height: 425px;
  overflow-x: hidden;
  border: none;
  border-radius: 8px;
  max-width: 993px;

  @media (max-width: 767px) {
    width: 100%;
  }
}

iframe html {
  overflow-x: hidden;
}

.iframe-popup iframe,
#iframePopup iframe {
  width: 100%;
  height: calc(100% - 30px);
  border: none;
}

.close-button {
  text-align: center;
  padding: 5px 10px;
  background-color: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10000;
  color: white;
}