@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

body {
  font-family: "Inter", sans-serif !important;
}

:root {
  --purple: #635aff !important;
  --purple-100: #5f57ff;
  --neutral-black-110: #334155;
  --neutral-black-100: #171819;
  --neutral-black-90: #36394a;
  --neutral-black-70: #475569;
  --neutral-black-60: #64748b;
  --neutral-black-50: #8996a9;
  --neutral-black-40: #a5b3c5;
  --neutral-black-30: #dde4ee;
  --neutral-black-20: #f1f5f9;
  --neutral-black-10: #f8fafc;
}
* {
  box-sizing: border-box;
}
.bg-purple {
  background-color: var(--purple) !important;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500 !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-bold {
  font-weight: 700 !important;
}

.text-purple {
  color: var(--purple);
}

.bg-purple {
  background-color: var(--purple);
}

.bg-purple-100 {
  background-color: var(--purple-100) !important;
}

.text-purple {
  color: var(--purple) !important;
}

.neutral-black-10 {
  background-color: var(--neutral-black-10) !important;
}

.neutral-black-fs-30 {
  color: var(--neutral-black-30) !important;
}

.neutral-black-fs-50 {
  color: var(--neutral-black-50) !important;
}

.neutral-black-fs-60 {
  color: var(--neutral-black-60) !important;
}

.neutral-black-fs-70 {
  color: var(--neutral-black-70) !important;
}

.neutral-black-fs-90 {
  color: var(--neutral-black-90) !important;
}

.neutral-black-fs-100 {
  color: var(--neutral-black-100) !important;
  font-weight: 500 !important;
}

.neutral-black-fs-110 {
  color: var(--neutral-black-110) !important;
}

.wp-core-ui select:focus,
input:focus,
textarea:focus {
  border-color: transparent !important;
  box-shadow: 0 0 0 1px var(--purple) !important;
}

.divider-light {
  height: 2.5px;
  width: 100%;
  background-color: var(--neutral-black-20);
  margin: 30px auto;
}

.wrap.ai-app-onsite-wrap {
  margin: 0px;
  margin-left: -20px;
  background: #f8fafc;
  min-height: 95vh;
  height: 100%;
  padding-bottom: 20px;
}

.ai-app-onsite-top-bar {
  border-bottom: 1px solid #f4f6f8 !important;
}

.profile-img-link {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  overflow: hidden;
}

.ai-app-onsite-tab-content-box {
  margin: 80px;
  margin-top: 35px;
  background-color: #fff;
  padding: 32px;
  border-radius: 6px;
}

#wpbody-content {
  padding-bottom: 0;
}

#wpfooter {
  display: none;
}

.ai-app-onsite-wrap .nav-tab-wrapper .nav-tab-active {
  /*    border-bottom: 1px solid #635AFF !important;*/
  color: #000 !important;
  font-weight: 500 !important;
}

.ai-app-onsite-wrap .nav-tab-wrapper .nav-tab {
  font-weight: 400;
  color: #64748b;
  background-color: #fff;
  border: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 15px 10px;
}

.ai-app-onsite-wrap .nav-tab-wrapper .nav-tab:hover {
  text-decoration: none;
}

.ai-app-onsite-wrap .nav-tab-wrapper .nav-tab:focus {
  box-shadow: none;
}

.ai-app-onsite-wrap .nav-tab-wrapper .nav-tab .icon {
  position: relative;
  display: inline-flex;
}

.ai-app-onsite-wrap .nav-tab-wrapper .nav-tab .icon img:last-child {
  position: absolute;
  opacity: 0 !important;
}

.ai-app-onsite-wrap .nav-tab-wrapper .nav-tab-active .icon img:last-child {
  opacity: 1 !important;
}

.ai-app-onsite-wrap .nav-tab-wrapper .nav-tab .icon div:last-child {
  position: absolute;
  opacity: 0 !important;
}

.ai-app-onsite-wrap .nav-tab-wrapper .nav-tab-active .icon div:last-child {
  opacity: 1 !important;
}

.tab-content {
  min-height: 300px;
  border-radius: 6px;
  border: 1px solid #dde4ee;
  padding: 25px;
  margin-top: 25px;
}

h2.nav-tab-wrapper {
  border-bottom: 1px solid #dde4ee !important;
}

.ai-app-onsite-wrap .nav-tab-wrapper .nav-tab-active {
  position: relative;
}

.ai-app-onsite-wrap .nav-tab-wrapper .nav-tab-active:after {
  content: "";
  position: absolute;
  top: 96%;
  left: 0;
  background-color: #635aff;
  height: 3px;
  width: 100%;
  border-radius: 10px 10px 0px 0px;
}

.ml-20 {
  margin-left: 20px;
}

.ml-25 {
  margin-left: 25px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-only-4 {
  margin-bottom: 4px !important;
}

.radius-8 {
  border-radius: 8px !important;
}

.radius-6 {
  border-radius: 6px !important;
}

.px-8 {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.px-10 {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.px-16 {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.py-8 {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

.py-6 {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.py-1 {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.form-wrapper {
  width: 100%;
  max-width: 650px;
  margin: auto;
}

.form-wrapper-license {
  width: 100%;
  margin: auto;
}

.form-wrapper select,
input#banned_words {
  max-width: 100%;
}

/*.form-wrapper.fix-inner-filed  select, input#banned_words {
    max-width: calc(100% - 60px);
}*/
.fs-bold-16 {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--neutral-black-100);
}

.fs-bold-14 {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  margin-bottom: 14px;

  .previw-icon {
    width: 20px;
    HEIGHT: 20PX;
    background-image: url('../media/clapperboard-grey.png');
  }

  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--neutral-black-60);
}

.border-purple {
  border: 2px solid var(--purple) !important;
}

.fs-regular-12 {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.fs-regular-10 {
  font-size: 10px;
  font-weight: 400;
  line-height: 16px;
}

.download-icon {
  position: relative;
  top: -9px;
  width: 38px;
  height: 38px;
  display: inline-block;
  text-align: center;
  margin-left: 10px;
}

/* BEGIN::Modal styles */
.container {
  max-width: 50vw;
  margin: 0 auto;
}

select[data-multi-select-plugin] {
  display: none !important;
}

.multi-select-component {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
  width: 100%;
  padding: 3px 8px;
  font-size: 14px;
  line-height: 1.42857143;
  padding-bottom: 0px;
  color: #555;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.autocomplete-list {
  border-radius: 4px 0px 0px 4px;
}

.multi-select-component:focus-within {
  box-shadow: inset 0px 0px 0px 2px #78abfe;
}

.multi-select-component .btn-group {
  display: none !important;
}

.multiselect-native-select .multiselect-container {
  width: 100%;
}

.selected-wrapper {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  display: inline-block;
  border: 1px solid #d9d9d9;
  background-color: #ededed;
  white-space: nowrap;
  margin: 1px 5px 5px 0;
  height: 22px;
  vertical-align: top;
  cursor: default;
}

.selected-wrapper .selected-label {
  max-width: 514px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 4px;
  vertical-align: top;
}

.selected-wrapper .selected-close {
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.49em;
  margin-left: 5px;
  padding-bottom: 10px;
  height: 100%;
  vertical-align: top;
  padding-right: 4px;
  opacity: 0.2;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  font-weight: 700;
}

.search-container {
  display: flex;
  flex-direction: row;
}

.search-container .selected-input {
  background: none;
  border: 0;
  height: 20px;
  width: 60px;
  padding: 0;
  margin-bottom: 6px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.search-container .selected-input:focus {
  outline: none;
}

.dropdown-icon.active {
  transform: rotateX(180deg);
}

.search-container .dropdown-icon {
  display: inline-block;
  padding: 10px 5px;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 10px;
  height: 10px;
  border: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* SVG background image */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23818181%22%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23818181%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-position: center;
  background-size: 10px;
  background-repeat: no-repeat;
}

.search-container ul {
  position: absolute;
  list-style: none;
  padding: 0;
  z-index: 3;
  margin-top: 29px;
  width: 100%;
  right: 0px;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-bottom: none;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.search-container ul :focus {
  outline: none;
}

.search-container ul li {
  display: block;
  text-align: left;
  padding: 8px 29px 2px 12px;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
  min-height: 31px;
}

.search-container ul li:first-child {
  border-top: 1px solid #ccc;
  border-radius: 4px 0px 0 0;
}

.search-container ul li:last-child {
  border-radius: 4px 0px 0 0;
}

.search-container ul li:hover.not-cursor {
  cursor: default;
}

.search-container ul li:hover {
  color: #333;
  background-color: rgb(251, 242, 152);
  border-color: #adadad;
  cursor: pointer;
}

/* Adding scrool to select options */
.autocomplete-list {
  max-height: 130px;
  overflow-y: auto;
}

/*End banned word box css*/
.select-box-icon select,
.select-box-icon input {
  padding-left: 38px !important;
  padding-right: 38px !important;
}

input#openAi-app-gutenberg-block {
  width: 100% !important;
  padding: 8px 38px !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;
}

.select-box-icon {
  position: relative;
}

.field-icon {
  position: absolute;
  top: 6px;
  left: 10px;
}

.select-box-icon select option {
  color: #000000;
}

.download-icon-box {
  position: relative;
}

.download-icon-box .download-icon {
  position: absolute;
  right: -48px;
  top: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.file-drop-area {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
  width: 100%;
  padding: 0px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  transition: 0.2s;
}

.fake-btn {
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 11px 15px;
  margin-right: 10px;
  font-size: 12px;
  text-transform: uppercase;
  padding-right: 0px;
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  opacity: 0;
}

.file-input::-webkit-file-upload-button {
  opacity: 0;
}

.file-msg-top {
  font-size: 14px;
  margin-bottom: 0px;
}

.text-write {
  min-height: 120px;
  resize: none;
}

.select-box-icon .text-write {
  padding: 8px 15px;
  padding-left: 35px;
}

.select-box-icon-textarea .field-icon {
  top: 5px;
}

.select-box-icon .text-write::placeholder {
  color: #64748b;
}

.btn {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  box-shadow: none !important;
}

.btn.btn-purple {
  border: 1px solid #3e29f3 !important;
}

.input-button-text {
  min-width: 120px !important;
  max-width: 120px;
  text-align: center;
  padding: 0px !important;
  line-height: 0;
  border: none !important;
  text-decoration: underline;
}

.input-button-text:focus {
  box-shadow: none !important;
  border: none !important;
}

.input-btn-text {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.input-btn-first label {
  margin-right: 12px;
}

.input-group-color {
  display: flex;
  width: 85%;
  flex-wrap: wrap;
}

.color-box {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.flex-row {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.custom-col-lg-4 {
  width: 33%;
  position: relative;
}

.custom-col-lg-4:after {
  content: "";
  position: absolute;
  left: -12px;
  top: 0;
  border-left: 1px dashed #dde4ee;
  height: 80%;
  width: 1px;
}

.custom-col-lg-4:first-child:after {
  display: none;
}

.btn-add-color {
  padding: 0px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none !important;
  position: relative;
}

.btn-add-color:before {
  content: "";
  position: absolute;
  left: -15px;
  top: 0px;
  background: #f1f5f9;
  height: 22px;
  width: 2px;
}

img.add-color-icon {
  position: relative;
  top: -6px;
}

.label-text {
  display: flex;
  align-items: center;
  color: #334155;
  font-weight: 500;
}

.label-text .label-icon {
  position: relative;
  top: -2px;
  margin-right: 10px;
}

/* BEGIN::Modal styles */

.modal.plugin-setting .modal-body {
  max-height: 300px;
  overflow-y: auto;
}

.modal.plugin-setting .modal-content {
  border-radius: 10px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.modal.plugin-setting .modal-body::-webkit-scrollbar {
  height: 50px;
  width: 6px;
  background: #fff;
}

.modal.plugin-setting .modal-body::-webkit-scrollbar-thumb {
  background: var(--neutral-black-30);
  -webkit-border-radius: 1ex;
  -webkit-box-shadow: 0px 1px 2px var(--neutral-black-10);
}

.modal.plugin-setting .modal-body::-webkit-scrollbar-corner {
  background: var(--neutral-black-30);
}

/* END::Modal styles */

.terms-form-group.form-group {
  display: block;
  margin-bottom: 15px;
}

.terms-form-group.form-group input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.terms-form-group.form-group label {
  position: relative;
  cursor: pointer;
}

.terms-form-group.form-group label:before {
  content: "";
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid #dfe1e7;
  padding: 7px;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
}

.terms-form-group.form-group input:checked+label:before {
  background-color: var(--purple);
  border-color: var(--purple);
}

.terms-form-group.form-group input:checked+label:after {
  content: "";
  display: block;
  position: absolute;
  top: 9px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.modal.plugin-setting .modal-body .terms-form-group.form-group input:checked+label:after {
  /* top: 8px; */
  left: 7px;
}

.terms-form-group .no-cursor {
  cursor: text !important;
}

.button-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.button-wrap>button {
  width: 100%;
  max-width: 50%;
}

.wp-core-ui select,
input[type="text"] {
  min-height: 38px;
}

.multi-select-component {
  margin-left: 25px !important;
  width: 94%;
  border: none;
  box-shadow: none;
  background-color: transparent;
  outline: none;
  transition: none;
  min-height: 30px;
  align-items: center;
  padding: 0px;
}

.multi-select-container .selected-wrapper {
  margin: 0px 2px;
}

.multi-select-container .field-icon {
  top: 6px;
}

.multi-select-container .selected-wrapper {
  margin: 0px 2px;
  background-color: #f1f5f9;
  color: #000;
  border: none;
  padding: 0px 9px;
}

.multi-select-container .selected-wrapper .selected-label {
  padding-right: 4px;
}

.multi-select-container .selected-wrapper .selected-close {
  opacity: 1;
  color: #64748b;
}

.search-container .selected-input {
  box-shadow: none !important;
  border: none !important;
  padding-left: 0px !important;
}

.multi-select-component:focus-within {
  box-shadow: none;
}

.multi-select-container .search-container ul li {
  margin-bottom: 0px;
}

.multi-select-container .search-container ul li:hover {
  background-color: rgb(232 230 255);
}

.multi-select-container .search-container ul li:first-child,
.multi-select-container .autocomplete-list {
  border-radius: 0px;
}

.wp-person a:focus .gravatar,
a:focus,
a:focus .media-icon img,
a:focus .plugin-icon {
  box-shadow: none;
}

.modal-setting-content input[type="text"],
.modal-setting-content input[type="text"]::placeholder {
  color: #000 !important;
}

.text-right button {
  margin: 4px;
}

.text-right button:last-child {
  margin-right: 0px;
}

/* .api-key-icon.select-box-icon p {
  padding-left: 36px;
  padding-top: 8px;
} */

.api-key-icon.select-box-icon {
  top: 6px;
}

.cursor-pointer {
  cursor: pointer;
}

.underline {
  text-decoration: underline;
}

.select-box-icon.right-icon .field-icon {
  left: auto;
  right: 10px;
}

/* Start radio color css */
.color-container {
  min-height: 25px;
  min-width: 30px;
  display: block;
  position: relative;
  padding-left: 0px;
  margin-bottom: 0px;
  cursor: pointer;
  font-size: 22px;
  margin-top: 5px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.color-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.color-container .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #334155;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
}

.color-container .checkmark:after,
.color-container .checkmark:before {
  content: "";
  position: absolute;
  display: none;
}

.color-container input:checked~.checkmark {
  background-color: #334155;
  border: 1px solid #1a1919;
}

.color-container input:checked~.checkmark:after {
  display: block;
  background: #fff;
}

.color-container input:checked~.checkmark:before {
  display: block;
  background: transparent;
  border: 2px solid #000;
}

.color-container .checkmark:after {
  top: 6px;
  left: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}

.color-container .checkmark:before {
  top: -4.5px;
  left: -4.5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #000;
  z-index: 0;
}

/* .last-box .color-container .checkmark:before {
  left: -5.5px;
} */
.color-container .checkmark:before {
  left: -5.0px;
  top: -5.0px;
}
.property-setting-form {
  display: none;
}

.color-container.green-check .checkmark {
  background-color: #5c5c5c;
  border: 1px solid #373535;
}

.color-container.green-check input:checked~.checkmark {
  background-color: #5c5c5c;
  border: 1px solid #000;
}

.color-container.green-check .checkmark:before {
  border: 2px solid #000 !important;
}

.color-container.purple-check .checkmark {
  background-color: #8d949a;
  border: 1px solid #5e6367;
}

.color-container.purple-check input:checked~.checkmark {
  background-color: #8d949a;
  border: 1px solid #000;
}

.color-container.purple-check .checkmark:before {
  border: 2px solid #000 !important;
}

.color-container.yellow-check .checkmark {
  background-color: #3b7dbb;
  border: 1px solid #22486c;
}

.color-container.yellow-check input:checked~.checkmark {
  background-color: #3b7dbb;
  border: 1px solid #000;
}

.color-container.yellow-check .checkmark:before {
  border: 2px solid #000 !important;
}

.color-container.white-check .checkmark {
  background-color: #8d949a;
  border: 1px solid #5a5f63;
}

.color-container.white-check input:checked~.checkmark {
  background-color: #8d949a;
  border: 1px solid #000;
}

.color-container.white-check .checkmark:before {
  border: 2px solid #000 !important;
}

.color-container.red-check .checkmark {
  background-color: #000000;
  border: 1px solid #434242;
}

.color-container.red-check input:checked~.checkmark {
  background-color: #000000;
  border: 1px solid #000;
}

.color-container.red-check .checkmark:before {
  border: 2px solid #000 !important;
}

.color-container.cyan-check .checkmark {
  background-color: #053f3e;
  border: 1px solid #012423;
}

.color-container.cyan-check input:checked~.checkmark {
  background-color: #053f3e;
  border: 1px solid #000;
}

.color-container.cyan-check .checkmark:before {
  border: 2px solid #000 !important;
}

.color-container.grey-check .checkmark {
  background-color: #f4f4f4;
  border: 1px solid #c0bfbf;
}

.color-container.grey-check input:checked~.checkmark {
  background-color: #f4f4f4;
  border: 1px solid #000;
}

.color-container.grey-check .checkmark:before {
  border: 2px solid #000 !important;
}

.color-container.light-green-check .checkmark {
  background-color: #e4fcff;
  border: 1px solid #778091;
}

.color-container.light-green-check input:checked~.checkmark {
  background-color: #e4fcff;
  border: 1px solid #000;
}

.color-container.light-green-check .checkmark:before {
  border: 2px solid #778091 !important;
}

.color-container.lighter-green-check .checkmark {
  background-color: #effdf9;
  border: 1px solid #9caba7;
}

.color-container.lighter-green-check input:checked~.checkmark {
  background-color: #effdf9;
  border: 1px solid #000;
}

.color-container.lighter-green-check .checkmark:before {
  border: 2px solid #000 !important;
}

.preview-img-box {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

img#previewImage {
  display: none;
  width: 150px;
  height: 100%;
}

.select-box-icon.right-icon input[type="text"] {
  padding-left: 10px !important;
  padding-right: 35px !important;
}

/* End radio color css */
/* start Field selector tab css */
.field-select-content .form-builder {
  width: 100%;
  margin: 50px auto;
  border: none;
  padding: 20px;
}

.field-select-content .field-row.top .col-ai-1 {
  width: auto;
  text-align: right;
}

.field-select-content .form-group {
  margin-bottom: 25px;
  border: 1px solid #dde4ee;
  padding: 24px;
  background-color: #f8fafc;
  cursor: move;
  border-radius: 6px;
}

.field-select-content .form-label {
  display: block;
  margin-bottom: 5px;
}

.field-select-content .form-input {
  width: 100%;
  padding: 5px;
  border: 1px solid #ddd;
}

.field-select-content .form-select {
  width: 100%;
  padding: 5px;
  border: 1px solid #ddd;
}

.field-select-content .form-button {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.field-select-content .shift-arrows-sect button {
  margin: 5px;
}

.field-select-content .field-row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1rem;
}

.mk-red {
  color: #ff5a50;
}

.field-select-content .field-row.top {
  gap: 1rem;
}

.border {
  border-radius: 6px !important;
}

button {
  cursor: pointer;
}

.ai-remove-sec button {
  padding: 0px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none !important;
}

.field-select-content .col-ai-3 {
  min-width: 150px;
  width: 19%;
}

.field-select-content .field-row.top select,
.field-select-content .field-row.top input {
  width: 100%;
}

.field-select-content .col-ai-2 {
  width: 12%;
  min-width: 115px;
}

.col-ai-4 {
  min-width: 29%;
}

/* end Field selector tab css */
.enable-switch-box .switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.enable-switch-box .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.enable-switch-box .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f1f5f9;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.enable-switch-box .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.enable-switch-box input:checked+.slider {
  background-color: var(--purple);
}

.enable-switch-box input:checked+.slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

.enable-switch-box .slider.round {
  border-radius: 34px;
}

.enable-switch-box .slider.round:before {
  border-radius: 50%;
}

.enable-switch-box input:checked+.slider:before {
  right: 0;
}

.enable-switch-box .text-switch {
  position: relative;
  top: -2px;
}

.remove-btn {
  padding: 0;
  border: none;
  background-color: transparent;
  outline: none !important;
  cursor: pointer;
}

.remove-btn:disabled {
  border:none;
}

.remove-btn .btn-icon {
  margin-right: 2px;
  position: relative;
  top: -1px;
}

.alignment-items-center {
  align-items: center;
}

.modal-400 .modal-body {
  max-height: 450px !important;
}

label.btn-add-color {
  margin-left: 15px;
}

/* start loader css */
.loader {
  height: 80px;
  aspect-ratio: 1;
  display: grid;
}

.loader:before,
.loader:after {
  content: "";
  --c: no-repeat linear-gradient(var(--purple) 0 0);
  background: var(--c), var(--c);
  background-size: 25% 50%;
  animation: l4 1.5s infinite linear;
}

.loader:after {
  transform: scale(-1);
}

@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%;
  }
}

#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;
}

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

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

/* end loader css  */
.number-select {
  border: 1px solid #dee2e6 !important;
  border-radius: 6px;
  min-height: 32px !important;
  color: #000;
}

.select-percentage {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hidden {
  display: none !important;
}


.btn-with-icon .btn-icon {
  margin-right: 3px;
}

#field-selector-content {
  padding: 0px;
  border-radius: 0px;
  border: none;
}

.field-row.bottm .col-ai-12 {
  width: 95.5%;
}

.full-width {
  width: 100%;
}

.max-width-100 {
  max-width: 100%;
}

.field-row.input-check-row {
  align-items: center;
}

/* xfdf */
.input-check-row .form-group label {
  position: relative;
  cursor: pointer;
  margin-bottom: 0px;
}

.field-row.input-check-row .form-group {
  padding: 0px;
  position: relative;
}

.input-check-row .form-group label:before {
  content: "";
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid #dfe1e7;
  padding: 7px;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
  z-index: 1;
}

.field-row.input-check-row .form-group input {
  position: absolute;
  top: 10px;
  z-index: 1;
  opacity: 0;
  z-index: 2;
}

.include-in-email-checkbox {
  display: none!important;
}

.input-check-row .form-group input:checked+label:after {
  content: "";
  display: block;
  position: absolute;
  top: 9px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  z-index: 1;
}

.input-check-row .form-group input:checked+label:before {
  background-color: #6756f9;
  border: 1px solid #6756f9;
}

.field-row.input-check-row .form-group {
  padding: 0px;
  margin-bottom: 0px;
  border: none;
}

.field-row.bottm .col-ai-12 {
  width: 95.5%;
  background-color: #F1F5F9;
  padding: 16px;
  margin-top: 15px;
  border-radius: 6px;
}

.field-row.input-check-row .form-group {
  margin-right: 20px;
}

.app-preview-content input::placeholder,
.app-preview-content textarea::placeholder {
  color: #A5B3C5 !important;
  font-weight: 400;
}
.app-preview-content .app-preview-content__heading {
  width: 40%;
}
.app-preview-content .app-preview-content__description{
  width: 60%;
}
.app-preview-content .response-bg-preview-container {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  padding: 0 20px;
  margin: auto auto 2rem auto;
}

.app-preview-content #ai-app-motivational-heading {
  padding: 20px 10px;
}

.fields-error {
  color: red;
  font-size: 12px;
}


div#openAi-app-gutenberg-block {
  padding: 8px 8px 8px 38px !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 6px !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 8px;
  padding-left: 38px !important;
}


#form-container #ai-app-openAi-app-form {
  max-width: 100% !important;
}

/*Prompt Editor Css Starts*/

span.important-text {
  color: red;
}

.ai-app-onsite-form-block {
  padding: 20px;
  border: 1px solid #000000;
  background-color: #f9f9f9;
}

#field-selector-content .field-row .col-ai-4 {
  min-width: 26%;
  width: 26%;
}

.previw-icon {
  width: 20px;
  HEIGHT: 20PX;
  background-image: url('../media/delete-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
  cursor: pointer;
}

.assets-grab-icon {
  width: 20px;
  HEIGHT: 20PX;
  background-image: url('../media/grab-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;


}

.assets-delete-icon {
  width: 20px;
  HEIGHT: 20PX;
  background-image: url('../media/delete-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-icon-center {
  height: 38px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assets-icon-center-label {
  height: 24px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assets-font-color-icon {
  width: 20px;
  HEIGHT: 20PX;
  background-image: url('../media/font-color-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-code-placeholder-icon {
  width: 20px;
  HEIGHT: 20PX;
  background-image: url('../media/code-icon-placeholder.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-engine-icon {
  width: 20px;
  HEIGHT: 20PX;
  background-image: url('../media/engine-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-token-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/token-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-temprature-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/temprature-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-penalty-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/penalty-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-api-key-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/api-key-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-AlappOnsite-API-Key-logo-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/AlappOnsite-API-Key-logo.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-copy-icon {
  width: 1.25rem;
  height: 1.56rem;
  background-image: url('../media/copy-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
  cursor: pointer;
}
.icon-success {
  width: 1.25rem;
  height: 1.56rem;
  background-image: url('../media/copy-icon-success.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
  cursor: pointer;  transition: color 0.3s ease;
}
.key-toggle .mask__toggle , .key-toggle .copy__btn {
 cursor: pointer;
 font-size: 14px;
}
#model-help-text{
  font-size: .875em;
}
.small-text {
  font-size: .775em;
}

.border-danger {
  border: 2px solid red !important;
  animation: shake 0.3s ease-in-out 2;
}

@keyframes shake {
  0% { transform: translateX(0px); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0px); }
}
.blurred {
  filter: blur(2px);
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.field-copy-icon {
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
}
#key-remove-btn {
  display: flex;
}

.assets-app-logo-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/app-logo.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-settings-grey-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/settings-grey.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-settings-blue-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/settings-blue.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-clapperboard-grey-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/clapperboard-grey.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-clapperboard-blue-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/clapperboard-blue.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-disc-grey-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/disc-grey.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-disc-blue-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/disc-blue.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-chevron-grey-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/chevron-grey.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-chevron-blue-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/chevron-blue.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-promt-icon-grey-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/promt-icon-grey.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-promt-icon-blue-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/promt-icon-blue.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-preview-icon-grey-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/preview-icon-grey.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-preview-icon-blue-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/preview-icon-blue.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-folder-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/folder-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-email-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/email-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-calendar-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/calendar-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-download-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/download-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-banned-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/banned-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-upload-file-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/upload-file-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-add-color-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/add-color-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

#assets-add-field {
  display: inline-flex;
}

.assets-add-field-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/add-color-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-shortcode-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/shortcode-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-response-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/response-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-pen-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/pen-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
  cursor: pointer;
}

.assets-text-color-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/text-color-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.assets-bg-color-icon {
  width: 20px;
  HEIGHT: 25PX;
  background-image: url('../media/bg-color-icon.png');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}

.logo-bg-fixed {
  background-image: url(../media/app-logo.png);
  width: 200px;
  height: 55px;
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
}

.logo-bg-fixed-sm {
  /* background-image: url(../media/AlappOnsite-API-Key-logo.png); */
  /* width: 160px;
  height: 35px; */
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
}

/* .profile-bg-fixed {
  background-image: url(../media/profile-img.png);
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
} */

@media (min-width: 576px) {
  .modal-400 {
    max-width: 400px !important;
  }
}
#ai-app-onsite-test {
    background-image: linear-gradient(to right, #006175 0%, #3c7bbd 100%);
    border-radius: 4px;
    box-sizing: border-box;
    color: #3c7bbd;
    display: block;
    font-size:1rem;
    height: 2.6rem;
    letter-spacing: 1px;
    padding: 1.7px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    width: 12.5rem;
    z-index: 2;
  }

#ai-app-onsite-test:hover {
    color: #fff;
  }

#ai-app-onsite-test span {
    align-items: center;
    background: #fff;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    height: 100%;
    transition: background .5s ease;
    width: 100%;
  }

#ai-app-onsite-test:hover span {
    background: transparent;
  }
.ai-app-onsite-wrap .gold-gradient {
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FF8C00, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
.ai-app-onsite-wrap .gold-gradient::after {
    background: none;
    content: attr(data-heading) / "";
    left: 0;
    top: 0;
    z-index: -1;
    position: absolute;
    text-shadow: 
    -1px 0 1px #c6bb9f, 
    0 1px 1px #c6bb9f, 
    5px 5px 10px rgba(0, 0, 0, 0.4),
    -5px -5px 10px rgba(0, 0, 0, 0.4);
  }
.ai-app-onsite-wrap .hackathon-badge {
    font-size: 22px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* Disables user selection for a more UI-element feel */
    user-select: none; 
    margin-bottom: 0!important;
  }
.ai-app-onsite-wrap .badge-neon-gradient {
    background: linear-gradient(90deg, #38bdf8, #818cf8, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(129, 140, 248, 0.4), 0 0 15px rgba(192, 132, 252, 0.3);
  }
.ai-app-onsite-wrap .app-name {
    background-color: #efefef;
    pointer-events: none;
  }

.ai-app-onsite-wrap .quill-wrapper {
    resize: vertical;
    overflow: auto;
    min-height: 220px;
    max-height: 600px;
}

.ai-app-onsite-wrap .quill-wrapper .quill-editor {
    height: 100%;
    overflow-y: auto;
}
.download-icon.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.download-icon::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 60%;
    height: 200%;
    transform: rotate(25deg) translateX(-120%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    transition: transform 500ms ease;
    pointer-events: none;
}
.download-icon:hover::after {
    transform: rotate(25deg) translateX(180%);
}

.download-icon-box .download-icon,.custom__shadow {
    box-shadow: 0 6px 14px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08) !important;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease !important;
    will-change: transform, box-shadow;
}

.ai-app-hidden {
    display: none !important;
}

.ai-app-color-popup {
    position: fixed;
    z-index: 10000;
    width: 300px;
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
    padding: 12px;
    color: #0f172a;
    overflow: visible;
    font-family: inherit;
}

.ai-app-color-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.ai-app-color-popup__header-main {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.ai-app-color-popup__mode {
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
}

.ai-app-color-popup__close {
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
}

.ai-app-color-popup__mode-caret {
    width: 8px;
    height: 8px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(45deg);
    margin-top: -2px;
}

.ai-app-color-popup__mode.is-static .ai-app-color-popup__mode-caret {
    display: none;
}

.ai-app-color-popup__gradient-hint {
    display: inline-flex;
    align-items: center;
    font-size: 8px;
    margin-left: 4px;
    color: #64748b;
    max-width: 150px;
    white-space: normal;
}

.ai-app-color-popup__mode-menu {
    position: absolute;
    top: 52px;
    left: 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
    padding: 6px;
    width: 140px;
    z-index: 2;
}

.ai-app-color-popup__mode-option {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #1f2937;
}

.ai-app-color-popup__mode-option.is-active {
    background: #e0edff;
    color: #1d4ed8;
    font-weight: 600;
}

.ai-app-color-popup__gradient-bar {
    position: relative;
    height: 20px;
    margin: 10px 4px 10px;
}

.ai-app-color-popup__gradient-track {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.ai-app-color-popup__gradient-stops {
    position: absolute;
    left: 4px;
    right: 4px;
    top: -4px;
    height: 20px;
}

.ai-app-color-stop {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.18);
    transform: translateX(-50%);
    cursor: pointer;
}

.ai-app-color-stop.is-active {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

.ai-app-color-popup__panel {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 14px;
    background: linear-gradient(to right, #ffffff, #3b82f6);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
}

.ai-app-color-popup__panel-white,
.ai-app-color-popup__panel-black {
    position: absolute;
    inset: 0;
}

.ai-app-color-popup__panel-white {
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.ai-app-color-popup__panel-black {
    background: linear-gradient(to top, #000000, rgba(0, 0, 0, 0));
}

.ai-app-color-popup__panel-thumb {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.5);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ai-app-color-popup__slider {
    position: relative;
    height: 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.ai-app-color-popup__hue {
    background: linear-gradient(to right, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
}

.ai-app-color-popup__alpha {
    background-image: linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(-45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e2e8f0 75%),
    linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0;
    overflow: hidden;
}

.ai-app-color-popup__alpha.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.ai-app-color-popup__slider-track {
    position: absolute;
    inset: 0;
    border-radius: 999px;
}

.ai-app-color-popup__slider-thumb {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.2);
    transform: translate(-50%, -50%);
    background: #1d4ed8;
}

.ai-app-color-popup__angle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ai-app-color-popup__angle-label {
    font-size: 14px;
    color: #64748b;
}

.ai-app-color-popup__angle-dial {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e2e8f0;
    position: relative;
}

.ai-app-color-popup__angle-indicator {
    position: absolute;
    top: 4px;
    left: 50%;
    width: 4px;
    height: 10px;
    background: #1d4ed8;
    border-radius: 999px;
    transform: translateX(-50%);
}

.ai-app-color-popup__angle input {
    width: 64px;
    padding: 5px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    font-size: 13px;
    text-align: center;
}

.ai-app-color-popup__angle-rotate {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ai-app-color-popup__trash {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111827;
    flex: 0 0 auto;
    position: relative;
}

.ai-app-color-popup__trash i {
    display: none;
}

.ai-app-color-popup__trash.is-disabled,
.ai-app-color-popup__trash:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.ai-app-color-popup__trash::before {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    background: center / contain no-repeat
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M6 6l1 14h10l1-14'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E");
}

.ai-app-color-popup__trash[data-tooltip] {
    position: relative;
}

.ai-app-color-popup__trash[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    background: #111827;
    color: #ffffff;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 16px;
    min-width: 220px;
    max-width: 280px;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 9999;
    text-align: left;
}

.ai-app-color-popup__trash[data-tooltip]:hover::after,
.ai-app-color-popup__trash[data-tooltip]:focus-visible::after {
    opacity: 1;
}

.ai-app-color-popup__angle-rotate-icon {
    width: 16px;
    height: 16px;
    border: 2px solid #64748b;
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
    transform: rotate(-45deg);
}

.ai-app-color-popup__footer {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.ai-app-color-popup__footer input {
    padding: 6px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
    flex: 1;
}

.ai-app-color-popup__footer input.is-disabled,
.ai-app-color-popup__footer input:disabled {
    opacity: 0.6;
    background: #f8fafc;
    cursor: not-allowed;
}

.ai-app-color-popup__footer input:first-child {
    flex: 1.4;
}

.ai-app-color-popup__format {
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.ai-app-color-popup__format:disabled,
.ai-app-color-popup__format[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    color: #94a3b8;
}

.ai-app-color-popup__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}

.ai-app-color-popup__action {
    flex: 1 1 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
    text-align: center;
}

.ai-app-color-popup__action--secondary {
    background: #ffffff;
    color: #1f2937;
}

.ai-app-color-popup__action--primary {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

@media (max-width: 640px) {
    .ai-app-color-popup {
        width: 260px;
        padding: 10px;
    }

    .ai-app-color-popup__panel {
        height: 155px;
    }
}
