/* start loader css */

.ai-app-form-wrap .loader {
  height: 80px;
  aspect-ratio: 1;
  display: grid;
}

.ai-app-form-wrap .loader:before,
.ai-app-form-wrap .loader:after {
  content: "";
  --c: no-repeat linear-gradient(#635aff 0 0);
  background: var(--c), var(--c);
  background-size: 25% 50%;
  animation: l4 1.5s infinite linear;
}

.ai-app-form-wrap .loader:after {
  transform: scale(-1);
}
.ai-app-form-wrap .fields-error {
  color: red;
  font-size: 12px;
}

.ai-app-form-wrap .like,
.ai-app-form-wrap .dislike {
  display: inline-block;
  cursor: pointer;
  margin: 3px;
  color: #979797;
}

.ai-app-form-wrap .dislike:hover,
.ai-app-form-wrap .like:hover {
  color: #f4b852;
  transition: all .2s ease-in-out;
  transform: scale(1.1);
}

.ai-app-form-wrap .active {
  color: #f4b852;
}

@keyframes l4 {

  0%,
  10% {
    background-position: 33.4% 100%, 66.6% 100%;
  }

  40% {
    background-position: 33.4% 0, 100% 100%;
  }

  70% {
    background-position: 0 100%, 66.6% 0;
  }

  100% {
    background-position: 33.4% 100%, 66.6% 100%;
  }
}

.ai-app-form-wrap #loader {
  position: fixed;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.2);
  top: 0;
  left: 0;
}

.ai-app-form-wrap .message-container span,
.modal-message-container span {
  text-align: center;
  background: #e2f9e2;
  padding: 5px;
  margin-top: 10px;
  border-radius: 4px;
  display: block;
}

.ai-app-form-wrap .select-box-icon.right-icon input[type="text"]::placeholder {
  color: #818898 !important;
}

/* end loader css  */

.ai-app-form-wrap .select-box-icon .ai-app-onsite-openAi-app-shortcode {
  padding-left: 38px !important;
  padding-right: 38px !important;
}

.ai-app-onsite-openAi-app-shortcode {
  width: 100% !important;
  padding: 8px !important;
  background-color: #fff !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 6px !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px !important;
  margin-bottom: 8px;
}

.ai-app-form-wrap .field-copy-icon {
  position: absolute;
  top: 6px;
  right: 10px;
}

#ai-app-result-wrapper {
  display: none;
}

.ai-app-form-wrap {
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin: auto auto 2rem auto;
}

.ai-app-form-wrap .ai-app-preview-form-heading {
  text-align: center;
  font-weight: 700;
  color: #1a202c;
  margin: 15px 0 15px 0;
}

.ai-app-app-descipition, .ai-app-result-message {
  margin-bottom: 10px;
}

form#ai-app-openAi-app-form .form-group {
  width: 90%;
  margin: auto;
}

.ai-app-form-wrap .form-group .ai-app-preview-form-label {
  font-size: 17px;
  margin-bottom: 5px;
}

.ai-app-form-wrap .form-group .ai-app-preview-form-input {
  width: 100%;
  font-size: 17px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  padding: 0.4em 0.5em !important;
  background-color: transparent;
}

.ai-app-form-wrap .form-group .ai-app-preview-form-input:focus {
  outline: 1px solid #718096;
}

.ai-app-form-wrap .form-group .ai-app-preview-form-textarea {
  width: 100%;
  font-size: 17px;
  border: 1px solid #cbd5e0;
  border-radius: 3px;
  padding: 0.4em 0.5em !important;
  background-color: transparent;
}

.ai-app-form-wrap .form-group .ai-app-preview-form-textarea:focus {
  outline: 1px solid #718096;
  outline-offset: 0;
}

.ai-app-form-wrap .form-group .ai-app-preview-form-sampletext {
  font-size: 13px;
  padding: 5px 0;
  margin-bottom: 32px;
}

.ai-app-form-wrap .ai-app-preview-submit-btn-wrap {
  text-align: center;
  margin-bottom: 15px;
  margin-top: 20px;
}

.ai-app-form-wrap .ai-app-preview-submit-btn-wrap button {
  background-color: #5f57ff;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.ai-app-form-wrap .ai-app-preview-note-wrapper .example-text .disclaimer-heading {
  font-weight: 900;
}

.ai-app-form-wrap #ai-app-motivational-heading h6, .response-bg-preview-container #ai-app-motivational-heading h6 {
  font-weight: 700;
  color: #000;
}

.ai-app-form-wrap #ai-app-result {
  font-size: 16px;
  line-height: 2.2rem;
  background-color: #f7f7f7;
  padding: 20px;
  color: #000;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  margin-bottom: 25px;
}

.ai-app-form-wrap #ai-app-result p {
  font-size: 16px;
  line-height: 2rem;
}

.ai-app-form-wrap #ai-app-result ul {
  margin: 0 0 2rem 0 !important;
  padding-left: 32px;
}

.ai-app-form-wrap #ai-app-result ul li {
  list-style-type: disc;
}

.ai-app-form-wrap .ai-app-refresh-btn {
  margin: 15px 0;
  text-align: center;
}

.ai-app-form-wrap #ai-app-refresh {
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  padding: 7px 15px;
}


.ai-app-preview-note-wrapper .example-text {
  font-size: 13px;
}

p.ai-app-disclaimer-text.example-text {
  font-size: 13px;
}

.ai_app_onsite_openAi_app_user_form {
  max-width: 100% !important;
  width: 100%;
  margin: 0 auto;
}

div#ai-app-openAi-app-logo {
  width: 100%;
  margin: auto auto 10px auto;
}

div#ai-app-openAi-app-logo img {
  width: 100%;
}

.ai-app-preview-powered_by_note-wrapper .powered_by {
  font-size: 13px !important;
}

#wp-prompt-media-buttons {
  display: none !important;
}

.variable-text-note {
  color: blue;
  font-weight: 600;
}