/** Start NG Image CSS Property **/
.prompt-form-sec {
  position: relative;
  min-height: 100svh;
  align-content: center;
  padding: var(--padding-tb-medium) 0;
  background-color: var(--dark-color);
  color: var(--white-color);
  overflow: hidden;
}

.prompt-form-sec h2,
.prompt-form-sec p {
  color: var(--white-color);
}

.pf-frm-wrapper {
  --borderWidth: 1px;
  background: #000000;
  max-width: 740px;
  padding: 30px 34px;
  margin: clamp(30px, 3vw, 40px) auto;
  position: relative;
  border-radius: calc(24 * var(--borderWidth));
}

.pf-frm-wrapper:after {
  content: '';
  position: absolute;
  top: calc(-1 * var(--borderWidth));
  left: calc(-1 * var(--borderWidth));
  height: calc(100% + var(--borderWidth) * 2);
  width: calc(100% + var(--borderWidth) * 2);
  background: linear-gradient(274.84deg, #C8DDF8 0%, #F27AA7 24.5%, #F27AA7 48.5%, #E0D0EB 71.5%, #FDDFD5 98.5%);
  border-radius: calc(24 * var(--borderWidth));
  z-index: -1;
  animation: animatedgradient 5s ease alternate infinite;
  background-size: 150% 150%;
}


@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 300% 300%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.pf-frm-wrapper p {
  margin: 0;
  line-height: 220%;
  margin-bottom: 0.25rem;
}

.pf-frm-wrapper input:not(input[type="button"], input[type="submit"]),
.pf-frm-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #D9D9D9 !important;
  padding: 0 4px;
  height: 30px;
  border-radius: 0 !important;
  color: var(--white-color);
  max-width: 180px;
  margin-bottom: 0.75rem;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.pf-frm-wrapper input::placeholder {
  font-size: 14px;
  color: #767676 !important;
}

.pf-frm-wrapper input#businessType {
  max-width: 135px;
}

.pf-frm-wrapper input#employees {
  max-width: 65px;
}

.pf-frm-wrapper input#challenges {
  min-width: 470px;
  max-width: 100%;
}

.pf-frm-wrapper input#tools {
  max-width: 158px;
}

.pf-frm-wrapper input:hover,
.pf-frm-wrapper select:hover {
  border-bottom-color: rgba(255, 255, 255, 0.45) !important;
}

.pf-frm-wrapper input:not(input[type="button"], input[type="submit"]):focus,
.pf-frm-wrapper select:focus {
  outline: none;
  border-color: #b39cff !important;
  box-shadow: 0 6px 22px -12px rgba(179, 156, 255, 0.45);
}

.pf-frm-wrapper input.field-error:not(input[type="button"], input[type="submit"]),
.pf-frm-wrapper select.field-error {
  border-color: var(--bs-danger) !important;
}

.pf-frm-wrapper input.field-error::placeholder {
  color: var(--bs-danger) !important;
  opacity: 0.7;
}

.pf-frm-wrapper .sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.pf-frm-wrapper select {
  font-size: 14px;
  color: #767676;
  background-color: #000000;
  padding-bottom: 0;
  margin-bottom: 0;
  height: 33px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.pf-frm-wrapper select.field-error {
  color: var(--bs-danger);
  opacity: 0.7;
}

.pf-frm-wrapper select:valid {
  font-size: 16px;
  color: var(--white-color);
}

.pf-frm-wrapper select option {
  color: #fff;
  background-color: #000;
  font-size: 16px;
}

.pf-frm-wrapper select option[disabled][selected] {
  display: none;
}

.prompt-form .btns {
  text-align: center;
}

.prompt-form .btns .btn {
  width: 295px;
  text-align: center;
}

.prompt-form-sec .graphics img {
  position: absolute;
  max-width: 100%;
  pointer-events: none;
}

.prompt-form-sec .graphics img.left {
  top: 0;
  left: 0;
}

.prompt-form-sec .graphics img.right {
  top: 0;
  right: 0;
}

.prompt-form-sec .graphics img.bottom {
  left: -33px;
  bottom: -180px;
  width: 100%;
}

.generated-view {
  position: relative;
  max-width: 1030px;
  margin: clamp(30px, 3vw, 40px) auto;
  margin-bottom: 0;
  color: var(--dark-color);
}

.generated-view :where(h1, h2, p, li, span) {
  color: var(--dark-color) !important;
}

.generated-view .head {
  background-color: var(--white-color);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
}

.generated-view .head h3 {
  color: var(--hot-pink-color);
  margin-bottom: 0;
}

.generated-view .gv-body {
  position: relative;
  padding: 1.5rem;
  background-color: var(--white-color);
  color: var(--dark-color);
  max-height: calc(650px - 104px);
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  overflow-x: hidden;
  overflow-y: auto;
}

/** CAPTCHA STYLE **/
.captcha-popup .CaptchaWrap {
  position: relative;
}

.captcha-popup fieldset {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  justify-content: center;
  align-items: center;
}

.captcha-popup .CaptchaTxtField {
  border-radius: 5px;
  border: 1px solid #ccc;
  display: block;
  box-sizing: border-box;
}

.captcha-popup .input-group {
  width: 80%;
}

.captcha-popup #UserCaptchaCode {
  padding: 12px 18px;
  outline: none;
  font-size: 18px;
  font-weight: normal;
  border-color: var(--grey-color);
  width: 100%;
}

.captcha-popup #CaptchaImageCode {
  text-align: center;
  margin-top: 15px;
  padding: 0px 0;
  width: 300px;
  overflow: hidden;
}

.captcha-popup .capcode {
  font-size: 46px;
  display: block;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: default;
  letter-spacing: 1px;
  color: #ccc;
  font-weight: 100;
}

.captcha-popup .ReloadBtn {
  background: url('../../assets/images/rotate.svg') left top no-repeat;
  background-size: 100%;
  width: 32px;
  height: 32px;
  border: 0px;
  padding: 0;
  position: absolute;
  bottom: 30px;
  right: -40px;
  outline: none;
  cursor: pointer;
  border-radius: 6px !important;
}

.captcha-popup .btnSubmit {
  min-width: 170px;
  margin-top: 20px;
}

.captcha-popup .error {
  color: red;
  font-size: 12px;
  display: none;
}

.captcha-popup .success {
  color: green;
  font-size: 18px;
  margin-bottom: 15px;
  display: none;
  text-align: center;
}

/** CUSTOM Modal **/
body.modal-open {
  overflow: hidden;
}

.modal-open .prompt-form-sec {
  z-index: 100;
}

.custom-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.custom-backdrop.show {
  opacity: 1;
}

.custom-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.custom-modal.show {
  display: flex;
}

.custom-modal-box {
  background: var(--white-color);
  border-radius: 6px;
  max-width: 500px;
  width: 90%;
  padding: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  animation: modalBoxAni 0.3s ease;
  z-index: 1000;
}


@keyframes modalBoxAni {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.custom-modal-header,
.custom-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-modal-header .btn-close {
  margin-left: auto;
  border-radius: 0 !important;
}

.custom-modal-header .btn-close:hover,
.custom-modal-header .btn-close:focus {
  opacity: 1;
  box-shadow: none;
}

.custom-modal-footer {
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

/** END CUSTOM Modal **/

/* RESPONSIVE */
@media only screen and (max-width: 820px) {
  .pf-frm-wrapper input#challenges {
    min-width: 420px;
  }

}

@media only screen and (max-width: 767px) {
  .pf-frm-wrapper input#challenges {
    min-width: 300px;
  }
}

@media only screen and (max-width: 575px) {
  .pf-frm-wrapper {
    padding: 1.25;
  }

  .generated-view .head {
    padding: 1rem;
    flex-direction: column;
    row-gap: 1rem;
  }

  .generated-view .gv-body {
    padding: 1rem;
  }
}

@media only screen and (max-width: 420px) {
  .captcha-popup .input-group {
    width: 100%;
  }

  .captcha-popup .CaptchaWrap {
    width: 100%;
    padding-right: 40px;
  }

  .captcha-popup .ReloadBtn {
    right: 0;
  }
}

/** End NG Image Property **/