.kws-popup {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.kws-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.kws-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.kws-modal {
  max-width: 800px;
  background: #fff;
  display: flex;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.kws-left {
  width: 300px;
}

.kws-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kws-right {
  width: calc(800px - 300px);
  padding: 40px;
}

.kws-step {
  display: none;
}

.kws-step.active {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

.kws-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.kws-no-thanks {
  margin-top: 15px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}

.kws-btn {
  display: block;
  margin-top: 20px;
  padding: 14px 28px;
  background: #000;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

/* Hide WPForms confirmation */
#kws-popup .wpforms-confirmation,
#kws-popup .wpforms-confirmation-container,
#kws-popup .wpforms-confirmation-container-full {
  display: none !important;
}

.kws-right h2 {
  font-size: 30px;
  font-weight: 700;
}

.kws-right p {
  font-size: 16px;
}

.kws-right .wpforms-submit {
  width: 100%;
  background: #000 !important;
}

.kws-right h2,
.kws-right p,
.kws-right .wpforms-container {
  margin: 0;
}
.kws-right .wpforms-field-label {
  margin-bottom: 5px !important;
}

.kws-right .wpforms-field {
  padding: 0 0 15px !important;
}

.kws-right .wpforms-field-medium {
  max-width: 100% !important;
}

.kws-right .wpforms-confirmation-container {
  display: none !important;
}

@media screen and (max-width: 850px) {
  .kws-modal {
    flex-direction: column;
    width: 90%;
    max-width: none;
    height: auto;
  }

  .kws-left,
  .kws-right {
    width: 100%;
  }

  .kws-left {
    height: 200px;
  }

  .kws-right {
    padding: 20px;
  }
}