/* css for the popup, important notes are display of none and fixed position along with a high z index and centering */
#prop-audience-exit
{
  display: none;
  position: fixed;
  z-index: 99999999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  max-height: fit-content;
  width: 80%;
  height: 80%;
}

/* css for the popup background, also display of none and fixed position along with filling the viewport */
#prop-audience-exit-bg
{
  display: none;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999999;
  transform: translate(0%, 0%);
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
}

.prop-audience-signup{
  background:linear-gradient(
    to bottom right,
    rgb(var(--primary-color)) 0%,
    color-mix(in srgb, rgb(var(--primary-color)) 70%, white) 100%
  );
  padding: 1.5em;
  flex: 1 0 100%;
  display: flex;
  flex-direction: column;
  border-radius:20px;
  color:white;
  overflow: hidden;
  border:2px solid white;
}

.prop-audience-success-message{
  border: 1px solid white;
  text-align: center;
  margin-top: 10px;
  border-radius: 10px;
  font-weight: bold;
}

.prop-audience-input-group {
  display: flex;
  flex-direction: row;
  gap: 0;
  margin-top: 1em;
}

#prop-audience-email {
  flex: 1; /* This makes the input take up remaining space */
  padding: 12px;
  box-sizing: border-box;
  border:0;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
}

#prop-audience-submit {
  width: 200px; /* Fixed width */
  padding: 12px;
  font-size: 16px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
}

.prop-audience-social-proof {
  margin-top: 20px;
  font-size: 15px;
}

.prop-audience-social-proof .avatars {
  display: flex;
  justify-content: left;
  margin-bottom: 5px;
}

.prop-audience-social-proof img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -8px;
}

.prop-audience-icon {
  width: 40px;
  height: 40px;
}

.prop-audience-social-proof img:first-child {
  margin-left: 0;
}

#prop-audience-exit-close{
  position: absolute;
  top: -12px;
  background: white;
  right: -12px;
  border: 0;
  border-radius: 100px;
  height: 30px;
  font-weight: bold;
  font-size: 1.5rem;
  width: 30px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .prop-audience-input-group {
    flex-direction: column;
  }

  #prop-audience-email {
    border-radius: 4px 4px 0 0;
  }

  #prop-audience-submit {
    width: 100%;
    border-radius: 0 0 4px 4px;
  }

  .prop-audience-social-proof{
    text-align: center;
  }

  .prop-audience-social-proof .avatars
  {
    justify-content: center;
  }