@font-face {
  font-family: "IranSansUltraLight";
  src: url("fonts/IRANSansX-UltraLight.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IranSansRegular";
  src: url("fonts/IRANSansX-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IranSansBold";
  src: url("fonts/IRANSansX-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IranSanBlack";
  src: url("fonts/IRANSansX-Black.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

.nextgpt-contx-divition-box #errorDiv span {
  font-size: 14px;
}

.ngptaicg-main-section {
  font-family: IranSansRegular;
}

.ngptaicg-main-section a:hover {
  text-decoration: none !important;
}

.ngptaicg-main-section .wp-switch-editor {
  font-family: IranSansRegular !important;
}

.ngptaicg-main-section h1,
.ngptaicg-main-section h2,
.ngptaicg-main-section h3,
.ngptaicg-main-section h4,
.ngptaicg-main-section h5,
.ngptaicg-main-section h6 {
  font-family: IranSansBold !important;
}

.ngptaicg-main-section label {
  font-weight: bold;
}

.spinnerx {
  background: url(images/loading-process.png) no-repeat !important;
  background-size: 25px 25px !important;
  float: left !important;
  vertical-align: middle !important;
  opacity: 1 !important;
  width: 25px !important;
  height: 25px !important;
  margin-right: 10px !important;
}

.ngptaicb-prompt-action {
  position: absolute;
  right: 0;
  top: 37px;
  display: none;
}

.ngptaicb-prompt-action-delete {
  background: #9d0000 !important;
  border-color: #9b0000 !important;
  color: #fff !important;
}

.nextgpt-contx-divition-box input:focus,
.nextgpt-contx-divition-box textarea:focus,
.nextgpt-contx-divition-box select:focus {
  outline: none !important;
}

.nextgpt-contx-divition-box .g-select-ltr {
  font-size: 14px;
  line-height: 2;
  color: #2c3338;
  border-color: #cfcfcf !important;
  box-shadow: none;
  border-radius: 3px;
  padding: 0 10px 0 15px;
  height: 45px;
  background: #fff
    url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E")
    no-repeat right 10px top 52% !important;
  background-size: 16px 16px;
  cursor: pointer;
  vertical-align: middle;
  text-align: left;
  direction: ltr;
  outline: none !important;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  appearance: none;
}

.ngptaicg-main-section input[type="radio"] {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: rgb(187, 215, 252);
  cursor: pointer !important;
  appearance: none;
  -webkit-appearance: none;
  border: 3px solid #fff;
  outline: 1px solid #999;
}

.nextgpt-contx-divition-box input,
.nextgpt-contx-divition-box textarea,
.nextgpt-contx-divition-box select {
  background-color: #fff;
  transition: ease-in-out, background-color 0.2s ease-in-out;
}

.nextgpt-contx-divition-box input:focus,
.nextgpt-contx-divition-box textarea:focus,
.nextgpt-contx-divition-box select:focus {
  background-color: #f5f5f5;
  outline: none !important;
}

.image-generator-conainer,
.image-generator-conainer select {
  font-family: IranSansRegular;
}

.image-generator-conainer button {
  font-family: IranSansBold;
}

.nextgpt-contx-divition-box .g-select {
  font-size: 14px;
  line-height: 2;
  color: #2c3338;
  border-color: #cfcfcf !important;
  box-shadow: none;
  border-radius: 3px;
  padding: 0 10px 0 10px;
  height: 45px;
  background: #fff
    url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E")
    no-repeat left 10px top 52%;
  background-size: 16px 16px;
  cursor: pointer;
  vertical-align: middle;
  text-align: right;
  direction: rtl;
  outline: none !important;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  appearance: none;
}

.nextgpt-contx-divition-box .g-textarea {
  resize: vertical;
  box-shadow: none !important;
  border: 1px solid #cfcfcf !important;
  background-color: #fff;
  color: #2c3338;
  overflow: auto;
  padding: 15px;
  line-height: 1.42857143;
  resize: vertical;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: inherit;
  width: 100%;
  outline: none !important;
  font-family: "IranSansRegular";
}

.nextgpt-contx-divition-box .g-input {
  font-size: 14px;
  line-height: 2;
  color: #2c3338;
  border: 1px solid #cfcfcf !important;
  box-shadow: none;
  border-radius: 3px;
  padding: 0 10px 0 10px;
  height: 45px;
  cursor: text;
  outline: none !important;
}

.nextgpt-contx-divition-box .g-input-m {
  font-size: 14px;
  line-height: 2;
  color: #2c3338;
  border: 1px solid #cfcfcf !important;
  box-shadow: none;
  border-radius: 3px;
  padding: 0 10px 0 10px;
  height: 40px !important;
  cursor: text;
  outline: none !important;
}

.nextgpt-contx-divition-box .g-select-m {
  font-size: 14px;
  line-height: 2;
  color: #2c3338;
  border: 1px solid #cfcfcf !important;
  box-shadow: none;
  border-radius: 3px;
  padding: 0 10px 0 10px;
  height: 35px;
  background: #fff
    url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E")
    no-repeat left 10px top 52%;
  background-size: 16px 16px;
  cursor: pointer;
  vertical-align: middle;
  text-align: right;
  direction: rtl;
  outline: none !important;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  appearance: none;
}

.nextgpt-contx-divition-box input[type="color"] {
  border: 1px solid #cfcfcf !important;
  width: 45px;
  height: 45px;
  outline: none !important;
  overflow: hidden;
  border-radius: 0;
  padding: 0 !important;
  outline: none !important;
  cursor: pointer !important;
}

.ngptaicb-bot-style input[type="color"] {
  border: 1px solid #e7e7e7;
  width: 30px !important;
  height: 30px !important;
  outline: none !important;
  overflow: hidden;
  border-radius: 0;
  padding: 0 !important;
  outline: none !important;
  cursor: pointer !important;
}

.nextgpt-contx-divition-box input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0 !important;
}

.nextgpt-contx-divition-box input[type="color"]::-webkit-color-swatch {
  border: none !important;
}

.ngptaicb-bot-footer {
  width: calc(100% - 55px);
  display: flex;
  bottom: 0px;
  position: absolute;
  margin-left: -21px;
  padding: 10px;
  background: #fff;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.ngptaicb-bot-footer-n {
  width: calc(100% - 55px);
  bottom: 0px;
  position: absolute;
  padding: 10px;
}

.ngptaicb-bot-footer > div {
  flex: 1;
}

.ngptaicb_message code {
  padding: 3px 5px 2px;
  background: rgb(0 0 0 / 20%);
  font-size: 13px;
  font-family: IranSansRegular;
  direction: ltr;
  unicode-bidi: embed;
  display: block;
  margin: 5px 0px;
  border-radius: 4px;
  white-space: pre-wrap;
}

.ngptaicb-template-settings > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ngptaicb-template-settings > div > strong {
  display: inline-block;
  width: 50%;
}

.ngptaicb-template-settings > div > strong > small {
  font-weight: normal;
  display: block;
}

.ngptaicb-template-settings .ngptaicb-template-sample {
  display: block;
  position: relative;
}

.ngptaicb-template-settings
  .ngptaicb-template-sample:hover
  .ngptaicb-template-response,
.ngptaicb-prompt-settings
  .ngptaicb-prompt-sample:hover
  .ngptaicb-prompt-response {
  display: block;
}

.ngptaicb-template-settings .ngptaicb-template-response,
.ngptaicb-prompt-settings .ngptaicb-prompt-response {
  background: #ededed;
  position: absolute;
  border-radius: 3px;
  color: #0c0c0c;
  padding: 15px;
  width: 400px;
  bottom: calc(100% + 5px);
  left: calc(50% - 83px);
  z-index: 99;
  display: none;
  margin-bottom: 10px;
  line-height: 180%;
  font-family: "IranSansRegular";
}

.ngptaicb-template-settings .ngptaicb-template-response:after,
.ngptaicb-template-settings .ngptaicb-template-response:before,
.ngptaicb-prompt-settings .ngptaicb-prompt-response:after,
.ngptaicb-prompt-settings .ngptaicb-prompt-response:before {
  top: 100%;
  left: 50%;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ngptaicb-template-settings .ngptaicb-template-response:before {
  border-color: rgba(68, 68, 68, 0);
  border-top-color: #ededed;
  border-width: 7px;
  margin-left: -7px;
}

.ngptaicb-template-settings .ngptaicb-template-response:after {
  border-color: rgba(51, 51, 51, 0);
  border-top-color: #ededed;
  border-width: 6px;
  margin-left: -6px;
}

.ngptaicb-template-action {
  position: absolute;
  right: 126px;
  top: 29px;
  display: none;
  background: #1cabab59;
  padding: 7px;
  border-radius: 4px;
}

.ngptaicb-template-item:hover .ngptaicb-template-action {
  display: block;
}

.nextgpt-contx-divition-box input:disabled,
.nextgpt-contx-divition-box textarea:disabled,
.nextgpt-contx-divition-box select:disabled {
  background: #e9e9e9 !important;
  border-color: #e9e9e9 !important;
  cursor: default !important;
}

.nextgpt-contx-divition-box input:disabled::placeholder {
  color: #cacaca !important;
}

.ngptaicb_template .ngptaicb-grid {
  display: block !important;
}

.ngptaicb-jumping-dots .ngptaicb-dot-1 {
  -webkit-animation-delay: 200ms;
  animation-delay: 200ms;
}

.ngptaicb-jumping-dots .ngptaicb-dot-3 {
  -webkit-animation-delay: 600ms;
  animation-delay: 600ms;
}

@-webkit-keyframes ngptaicb-jump {
  0% {
    bottom: 0px;
  }

  20% {
    bottom: 5px;
  }

  40% {
    bottom: 0px;
  }
}

@keyframes ngptaicb-jump {
  0% {
    bottom: 0px;
  }

  20% {
    bottom: 5px;
  }

  40% {
    bottom: 0px;
  }
}

.ngptaicb_notice_text_rw {
  display: none !important;
  padding: 10px;
  background-color: #f8dc6f;
  text-align: left;
  margin-bottom: 12px;
  color: #000;
}

@-webkit-keyframes ngptaicb-jump {
  0% {
    bottom: 0px;
  }

  20% {
    bottom: 5px;
  }

  40% {
    bottom: 0px;
  }
}

@keyframes ngptaicb-jump {
  0% {
    bottom: 0px;
  }

  20% {
    bottom: 5px;
  }

  40% {
    bottom: 0px;
  }
}

.nextgpt-contx-divition-box .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.158);
  border-radius: 20px;
  transition: all 0.1s;
  cursor: pointer !important;
}

.nextgpt-contx-divition-box .switch::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  top: 1px;
  left: 1px;
  transition: all 0.1s;
  cursor: pointer !important;
}

.nextgpt-contx-divition-box .checkbox:checked + .switch::after {
  left: 20px;
}

.nextgpt-contx-divition-box .checkbox:checked + .switch {
  background-color: #5a7bad;
}

.nextgpt-contx-divition-box .ngptaicg-main-section .checkbox {
  display: none;
}

.fa_plus_square_disabled_set {
  color: #ccc;
  cursor: default;
}

.nextgpt-contx-divition-box .title-header {
  background-color: #ddd;
  color: #383838;
  padding: 14px;
  width: 100%;
  max-height: 45px;
  border: none;
  text-align: right;
  border-radius: 4px;
}

.nextgpt-contx-divition-box h4.accordion,
.nextgpt-contx-divition-box h4.accordion_2,
.nextgpt-contx-divition-box h4.accordion_3 {
  background-color: rgb(241, 241, 241);
  color: #383838;
  cursor: pointer;
  padding: 14px;
  width: 100%;
  height: 45px;
  border: none;
  text-align: right;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  border-radius: 4px;
  margin-bottom: 3px;
}

.nextgpt-contx-divition-box h4.accordion.active,
.nextgpt-contx-divition-box h4.accordion:hover,
.nextgpt-contx-divition-box h4.accordion_2.active_2,
.nextgpt-contx-divition-box h4.accordion_2:hover,
.nextgpt-contx-divition-box h4.accordion_3.active_3,
.nextgpt-contx-divition-box h4.accordion_3:hover {
  background-color: #ddd;
}

.nextgpt-contx-divition-box h4.accordion:after,
.nextgpt-contx-divition-box h4.accordion_2:after,
.nextgpt-contx-divition-box h4.accordion_3:after {
  content: "\002B";
  color: #696969;
  font-weight: bold;
  float: left;
  margin-left: 5px;
  margin-top: 2px;
}

.nextgpt-contx-divition-box h4.accordion.active:after,
.nextgpt-contx-divition-box h4.accordion_2.active_2:after,
.nextgpt-contx-divition-box h4.accordion_3.active_3:after {
  content: "\2212";
}

.nextgpt-contx-divition-box div.panel {
  /*padding: 0 18px;*/
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border-right: 1px #ececec solid;
  border-left: 1px #ececec solid;
}

.ngptaicb-image-item input[type="checkbox"],
.ngptaicb-image-item input[type="radio"] {
  border: 1px solid #8c8f94;
  border-radius: 3px;
  background: #fffffff2;
  color: #bbbbbb;
  clear: none;
  cursor: pointer;
  display: inline-block;
  line-height: 0;
  height: 1rem;
  margin: 0px 0 0 3px;
  outline: 0px;
  padding: 0 !important;
  text-align: center;
  vertical-align: middle;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: 0.05s border-color ease-in-out;
  width: 25px !important;
}

.ngptaicb-image-item input[type="checkbox"]:checked::before {
  content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E");
  margin: -3px -3px 0 0;
  height: 20px;
  width: 30px;
}

.ngptaicb-image-item {
  background-size: cover;
  position: relative;
  cursor: pointer;
  min-width: 236px !important;
}

.ngptaicb-image-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.ngptaicb-template-content {
  margin-right: 15px;
  flex: 1;
}

.ngptaicb-template-content p {
  margin: 5px 0;
  font-size: 12px;
  height: 44px;
  overflow: hidden;
}

.ngptaicb-template-items {
  position: relative;
  overflow-y: hidden;
}

.ngptaicb-template-action-delete {
  background: #9d0000 !important;
  border-color: #9b0000 !important;
  color: #fff !important;
}

.ngptaicb-template-form-field .ngptaicb-grid {
  grid-row-gap: 0;
}

.nextgpt-contx-divition-box input[type="checkbox"]:focus,
.nextgpt-contx-divition-box input[type="color"]:focus,
.nextgpt-contx-divition-box input[type="date"]:focus,
.nextgpt-contx-divition-box input[type="datetime-local"]:focus,
.nextgpt-contx-divition-box input[type="datetime"]:focus,
.nextgpt-contx-divition-box input[type="email"]:focus,
.nextgpt-contx-divition-box input[type="month"]:focus,
.nextgpt-contx-divition-box input[type="number"]:focus,
.nextgpt-contx-divition-box input[type="password"]:focus,
.nextgpt-contx-divition-box input[type="radio"]:focus,
.nextgpt-contx-divition-box input[type="search"]:focus,
.nextgpt-contx-divition-box input[type="tel"]:focus,
.nextgpt-contx-divition-box input[type="text"]:focus,
.nextgpt-contx-divition-box input[type="time"]:focus,
.nextgpt-contx-divition-box input[type="url"]:focus,
.nextgpt-contx-divition-box input[type="week"]:focus,
.nextgpt-contx-divition-box select:focus,
.nextgpt-contx-divition-box textarea:focus {
  border-color: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/*************************************************************** chat gpt ************************************************************/

.ngptaicb_chat_widget,
.ngptaicb_chat_widget_content {
  z-index: 100;
}

.ngptaicb-chatbox {
  width: 100%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  overflow: hidden;
}

.ngptaicb-chatbox-content {
  position: relative;
}

.ngptaicb-chatbox-content ul {
  height: 400px;
  overflow-y: auto;
  background: #222;
  margin: 0;
  padding: 0;
}

.ngptaicb-chatbox-content ul li {
  color: #0c0c0c;
  display: flex;
  margin-bottom: 10px;
}

.ngptaicb-chatbox-content ul li strong {
  font-weight: bold;
  margin-left: 8px;
  float: right;
}

.ngptaicb-chatbox-content ul li p {
  margin: 0;
  padding: 0;
}

.ngptaicb-chatbox-content ul li p:after {
  clear: both;
  display: block;
}

.ngptaicb-chat-avatar img {
  border-radius: 50% !important;
}

.ngptaicb_chatbox_icon:hover,
.ngptaicb_chatbox_avatar:hover {
  color: #6297b6;
  transition: all 0.14s ease;
}
.ngptaicb-chat-message {
  color: #181818;
  text-align: justify;
}
.ngptaicb-chatbox-send {
  display: flex;
  align-items: center;
  color: #fff;
  padding: 2px 3px;
  cursor: pointer;
}

.ngptaicb-chatbox-type {
  display: flex;
  align-items: center;
  padding: 5px;
  background: #141414;
  border-top: 1px solid #3e3e3e;
  height: 40px !important;
}

.nextgpt-contx-divition-box input.ngptaicb-chatbox-typing {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  padding: 0 8px;
  height: 30px !important;
  line-height: 2;
  box-shadow: 0 0 0 transparent;
  color: #2c3338;
  margin: 0;
}

.ngptaicb-chatbox-send svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: currentColor;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.ngptaicb-chat-message-error {
  color: #f00;
}

.ngptaicb_chat_widget_content .ngptaicb-chatbox-content ul::-webkit-scrollbar,
.ngptaicb-chat-shortcode-content ul::-webkit-scrollbar,
.nextgpt-contx-divition-box select::-webkit-scrollbar,
.nextgpt-contx-divition-box textarea::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #ececec;
  scrollbar-color: #114568;
  cursor: pointer !important;
}

.nextgpt-contx-divition-box .ngptaicb_chat_widget_content
  .ngptaicb-chatbox-content
  ul::-webkit-scrollbar-button,
.ngptaicb-chat-shortcode-content ul::-webkit-scrollbar-button,
.nextgpt-contx-divition-box select::-webkit-scrollbar-button,
.nextgpt-contx-divition-box textarea::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
  cursor: pointer !important;
}

.nextgpt-contx-divition-box .ngptaicb_chat_widget_content
  .ngptaicb-chatbox-content
  ul::-webkit-scrollbar-thumb,
.ngptaicb-chat-shortcode-content ul::-webkit-scrollbar-thumb,
.nextgpt-contx-divition-box select::-webkit-scrollbar-thumb,
.nextgpt-contx-divition-box textarea::-webkit-scrollbar-thumb {
  background: #a1a1a1;
  border: 0px none #ffffff;
  border-radius: 50px;
  cursor: pointer !important;
}

.nextgpt-contx-divition-box .ngptaicb_chat_widget_content
  .ngptaicb-chatbox-content
  ul::-webkit-scrollbar-thumb:hover,
.ngptaicb-chat-shortcode-content ul::-webkit-scrollbar-thumb:hover,
.nextgpt-contx-divition-box select::-webkit-scrollbar-thumb:hover,
.nextgpt-contx-divition-box textarea::-webkit-scrollbar-thumb:hover {
  background: #808080;
  cursor: pointer !important;
}

.ngptaicb_chat_widget_content
  .ngptaicb-chatbox-content
  ul::-webkit-scrollbar-thumb:active,
.ngptaicb-chat-shortcode-content ul::-webkit-scrollbar-thumb:active,
.nextgpt-contx-divition-box select::-webkit-scrollbar-thumb:active,
.nextgpt-contx-divition-box textarea::-webkit-scrollbar-thumb:active {
  background: #878787;
  cursor: pointer !important;
}

.nextgpt-contx-divition-box .ngptaicb_chat_widget_content
  .ngptaicb-chatbox-content
  ul::-webkit-scrollbar-track,
.ngptaicb-chat-shortcode-content ul::-webkit-scrollbar-track,
.nextgpt-contx-divition-box select::-webkit-scrollbar-track,
.nextgpt-contx-divition-box textarea::-webkit-scrollbar-track {
  background: #f2f2f2;
  border: 0px none #ffffff;
  border-radius: 60px;
  cursor: pointer !important;
}

.nextgpt-contx-divition-box .ngptaicb_chat_widget_content
  .ngptaicb-chatbox-content
  ul::-webkit-scrollbar-track:hover,
.ngptaicb-chat-shortcode-content ul::-webkit-scrollbar-track:hover,
.nextgpt-contx-divition-box select::-webkit-scrollbar-track:hover,
.nextgpt-contx-divition-box textarea::-webkit-scrollbar-track:hover {
  background: #c7c7c7;
}

.nextgpt-contx-divition-box .ngptaicb_chat_widget_content
  .ngptaicb-chatbox-content
  ul::-webkit-scrollbar-track:active,
.ngptaicb-chat-shortcode-content ul::-webkit-scrollbar-track:active,
.nextgpt-contx-divition-box select::-webkit-scrollbar-track:active,
.nextgpt-contx-divition-box textarea::-webkit-scrollbar-track:active {
  background: #ffffff;
  cursor: pointer !important;
}

.nextgpt-contx-divition-box .ngptaicb_chat_widget_content
  .ngptaicb-chatbox-content
  ul::-webkit-scrollbar-corner,
.ngptaicb-chat-shortcode-content ul::-webkit-scrollbar-corner,
.nextgpt-contx-divition-box select::-webkit-scrollbar-corner,
.nextgpt-contx-divition-box textarea::-webkit-scrollbar-corner {
  background: transparent;
  cursor: pointer !important;
}

.ngptaicb-chat-shortcode-send {
  display: flex;
  align-items: center;
  padding: 2px 6px;
  cursor: pointer;
}

.ngptaicb-chat-shortcode-send svg {
  fill: currentColor;
  stroke: currentColor;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
.ngptaicb-chat-shortcode-type {
  display: flex;
  align-items: center;
  padding: 5px;
  background: #cfcfcf !important;
  height: 41px !important;
}

.nextgpt-contx-divition-box input.ngptaicb-chat-shortcode-typing {
  flex: 1 !important;
  border: 1px solid #ccc !important;
  border-radius: 3px !important;
  padding: 0 8px !important;
  height: 30px !important;
  line-height: 2 !important;
  box-shadow: 0 0 0 transparent !important;
  margin: 0 !important;
}

.ngptaicb-chat-shortcode-content ul {
  overflow-y: auto;
  margin: 0;
  padding: 0;
  border: 1px solid #e4e4e4 !important;
}

.ngptaicb-chat-shortcode-content ul li {
  display: flex;
  margin-bottom: 0;
  padding: 10px;
  font-family: "IranSansRegular";
}

.ngptaicb-chat-shortcode-content ul li p {
  margin: 0;
  padding: 0;
}

.ngptaicb-chat-shortcode-content ul li p,
.ngptaicb-chat-shortcode-content ul li span {
  font-size: inherit;
}

.ngptaicb-chat-shortcode-content ul li strong {
  font-weight: bold;
  margin-left: 5px;
  float: right !important;
}

.ngptaicb-chat-shortcode {
  border-radius: 4px;
  overflow: hidden;
}

.ngptaicb-chat-shortcode-footer {
  height: 28px !important;
  font-size: 11px !important;
  padding: 3px 10px !important;
  color: #080000 !important;
  background: #f1f1f1 !important;
  margin-top: 2px !important;
  margin-bottom: 2px !important;
  font-family: "IranSansRegular";
}

.ngptaicb_chat_widget_content {
  font-family: IranSansRegular !important;
}

.ngptaicb-chatbox-typing {
  font-family: IranSansRegular !important;
  font-size: 14px !important;
}
.ngptaicb-mic-icon {
  display: flex;
  cursor: pointer;
  position: absolute;
  left: 54px !important;
}

.ngptaicb-mic-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
/*************************************************************** image generator ************************************************************/

.nextgpt-contx-divition-box .dot-flashing {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background-color: #9880ff;
  color: #9880ff;
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}

.nextgpt-contx-divition-box .dot-flashing::before {
  left: -17px;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background-color: #9880ff;
  color: #9880ff;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 0s;
}

.nextgpt-contx-divition-box .dot-flashing::after {
  left: 17px;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background-color: #9880ff;
  color: #9880ff;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 1s;
}

.nextgpt-contx-divition-box .dot-flashing::before,
.nextgpt-contx-divition-box .dot-flashing::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}

@keyframes dot-flashing {
  0% {
    background-color: #9880ff;
  }

  40%,
  100% {
    background-color: rgba(152, 128, 255, 0.2);
  }
}

.ast-single-post .entry-content a,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
  text-decoration: none;
}
.entry-content ul,
.entry-content ol {
  padding: 0;
  margin: 0;
}
.ngptaicb_grid_form_imgg img {
  border-radius: 10px;
}

.nextgpt-contx-divition-box .image-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  display: grid;
  grid-template-rows: auto auto;
}

.nextgpt-contx-divition-box .image-generate-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

.ngptaicb-image-item {
  background-size: cover;
  position: relative;
  cursor: pointer;
}

.ngptaicb-image-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.ngptaicb-image-item label {
  position: absolute;
  top: 10px;
  right: 10px;
}

.nextgpt-contx-divition-box .select-element {
  margin: 10px;
}

.nextgpt-contx-divition-box .button-element {
  background-color: #4169e1;
  /* this is the blue color */
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.nextgpt-contx-divition-box .button-element:hover {
  background-color: #6495ed;
  /* this is a slightly lighter blue color on hover */
  box-shadow: 0px 0px 10px #b0c4de;
  /* this is a subtle shadow on hover */
  transform: translateY(-2px);
  /* this is a subtle upward movement on hover */
}

.ngptaicb-convert-progress {
  height: 28px;
  background: #c1bcbc;
  border-radius: 3px;
  color: #fff;
  padding: 5px 12px;
  position: relative;
  font-size: 12px;
  text-align: center;
  margin-bottom: 10px;
  display: none;
}
.ngptaicb-convert-progress.ngptaicb_error span {
  background: #bb0505;
}

.ngptaicb-convert-progress span {
  display: block;
  position: absolute;
  height: 100%;
  border-radius: 5px;
  background: #2271b1;
  top: 0;
  left: 0;
  transition: width 0.6s ease;
}
.ngptaicb-convert-progress small {
  position: relative;
  font-size: 12px;
}
.ngptaicb_modal {
  top: 5%;
  height: 90%;
}
.ngptaicb_modal_content {
  height: calc(100% - 50px);
  overflow-y: auto;
  padding: 30px;
}
.ngptaicb-collapse-content select,
.ngptaicb-collapse-content input[type="number"] {
  display: inline-block !important;
  width: 48% !important;
}

.nextgpt-contx-divition-box h5 {
  font-size: 0.9rem !important;
}

.ngptaicb-image-error {
  padding: 10px;
  background-color: #ee6c6c;
  color: #fff !important;
  margin: 0 20px;
  border-radius: 5px;
  text-align: center !important;
  font-weight: bold;
}

.nextgpt-contx-divition-box h4.ngptaicb_col4_heading {
  background-color: #ddd;
  color: #383838;
  padding: 14px;
  width: 100%;
  height: 45px;
  border: none;
  text-align: right;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  border-radius: 4px;
  margin-bottom: 3px;
}

/*************************************************************** quick prompts ************************************************************/
.ngptaicb-template-icon,
.ngptaicb-prompt-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  opacity: 1 !important;
  transition: all 0.1s ease;
}

.ngptaicb-template-icon svg,
.ngptaicb-prompt-icon svg {
  fill: currentColor;
  width: 34px;
  height: 34px;
}

.ngptaicb-prompt-content {
  margin-right: 10px;
  flex: 1;
}

.ngptaicb-prompt-content p {
  margin: 5px 0;
  font-size: 12px;
  height: 44px;
  overflow: hidden;
}

.ngptaicb-template-icons span.icon_selected,
.ngptaicb-prompt-icons span.icon_selected {
  background: #519eed;
  color: #fff;
  box-shadow: 0px 0px 11px 5px rgba(0, 0, 0, 0.1) !important;
  border-radius: 30px;
}

.ngptaicb-template-icons span,
.ngptaicb-prompt-icons span {
  padding: 13px;
  border-radius: 30px;
  border: 1px solid #d9d5d5;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 7px;
  margin-bottom: 7px;
  cursor: pointer;
  color: #505050;
}

.ngptaicb-template-icons span:hover,
.ngptaicb-prompt-icons span:hover {
  background: #519eed;
  color: #fff;
  border-radius: 30px;
}

.ngptaicb-template-icons span svg,
.ngptaicb-prompt-icons span svg {
  fill: currentColor;
  width: 30px;
  height: 30px;
}

.ngptaicb-template-icons span.icon_selected,
.ngptaicb-prompt-icons span.icon_selected {
  background: #519eed;
  color: #fff;
  box-shadow: 0px 0px 11px 5px rgba(0, 0, 0, 0.1) !important;
  border-radius: 30px;
}

.ngptaicb-template-icons span,
.ngptaicb-prompt-icons span {
  padding: 13px;
  border-radius: 30px;
  border: 1px solid #d9d5d5;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 7px;
  margin-bottom: 7px;
  cursor: pointer;
  color: #505050;
}

.ngptaicb-template-icons span:hover,
.ngptaicb-prompt-icons span:hover {
  background: #519eed;
  color: #fff;
  border-radius: 30px;
}

.ngptaicb-template-icons span svg,
.ngptaicb-prompt-icons span svg {
  fill: currentColor;
  width: 30px;
  height: 30px;
}

.ngptaicb_modal_head .ngptaicb-template-icon,
.ngptaicb_modal_head .ngptaicb-prompt-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.ngptaicb_modal_head .ngptaicb-template-icon svg,
.ngptaicb_modal_head .ngptaicb-prompt-icon svg {
  fill: currentColor;
  width: 22px;
  height: 22px;
}

.ngptaicb-template-icon,
.ngptaicb-prompt-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  opacity: 1 !important;
  transition: all 0.1s ease;
}

.ngptaicb-template-icon svg,
.ngptaicb-prompt-icon svg {
  fill: currentColor;
  width: 34px;
  height: 34px;
}