#nsT3AiSidebar.sidenav {
  height: 100%;
  width: 440px;
  position: fixed;
  z-index: 99999;
  top: 0;
  right: -440px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background:light-dark(#f7f7f7, #262626);
  overflow-x: hidden;
  transition: 0.5s;
}

#nsT3AiSidebar.sidenav a {
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

#nsT3AiSidebar.sidenav .closebtn {
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}

.nsT3AiBlock {
  height: 100%;
  padding: 20px;
}

.nsT3AiBlock .d-none {
  display: none;
}

@media screen and (max-height: 450px) {
  #nsT3AiSidebar.sidenav a {font-size: 18px;}
}

#ns-custom-tooltip {
  display: none;
  margin-left: 2px;
  padding: 5px 12px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  color: #fff;
}

.nsT3AiSidebarResCopybtn svg {
  margin-right: 4px;
  margin-top: -2px;
}

.nsOpenSidebarHeaderBlock {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
}

.nsOpenSidebarHeaderBlock .nsT3Aiheader {
  margin: 0;
  color: #fff;
  display: flex;
  align-items: center;
}

.nsOpenSidebarHeaderBlock .nsT3Aiheader .t3js-icon {
  margin-right: 8px;
}

.nsT3AiSidebarResLoader {
  position: relative;
  overflow: hidden;
}

#nsT3AiSidebarForm .form-control {
  font-size: 13px;
}

#nsT3AiSidebarResponseBlock .form-control {
  font-size: 13px;
  height: 100%;
}

#nsT3AiSidebarResponseBlock {
  height: calc(100% - 450px);
}

#nsT3AiSidebarResponseBlock .nsT3AiSidebarResLoader {
  height: calc(100% - 25px);  
}

#nsT3AiSidebarResponseBlock .nsT3AiSidebarResLoaderVisible:before {
    content: '';
    position: absolute;
    left: -50%;
    height: 3px;
    width: 40%;
    background-color: #151515;
    -webkit-animation: chq-chatgpt-lnline-tag-animation 1s linear infinite;
    -moz-animation: chq-chatgpt-lnline-tag-animation 1s linear infinite;
    animation: chq-chatgpt-lnline-tag-animation 1s linear infinite;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

@keyframes chq-chatgpt-lnline-tag-animation { 
  0% { left: -40%; } 50% { left: 20%; width: 80%; } 100% { left: 100%; width: 100%; } 
}

#nsT3AiSidebarForm #custom_cmd {
  height: 70px;
}

#nsT3AiSidebarForm #prompt {
  height: 150px;
}

/*Modal Style*/
.ns_t3ai--modal-full .modal-content,
.ns_t3ai--modal-large .modal-content,
.ns_t3ai--modal-medium .modal-content,
.ns_t3ai--modal-default .modal-content,
.ns_t3ai--modal-small .modal-content {
  width: 100%;
}

.ns_t3ai--modal.modal-severity-notice .modal-header {
  background-color: #0078e6;
  color: #fff;
  border-bottom-color: #006ccf
}

.ns_t3ai--modal.modal-severity-info .modal-header {
  background-color: #333;
  color: #fff;
  border-bottom-color: #2e2e2e;
}

.ns_t3ai--modal .modal-dialog {
  padding: 0 5%;
}

.ns_t3ai--modal .modal-content {
  border: 0;
}
.ns_t3ai--modal.ns_t3ai--modal-full .modal-content {
  height: 100vh;
  max-width: 100%;
  width: 100%;
}

.ns_t3ai--modal.ns_t3ai--modal-large .modal-content {
  height: 90vh;
  max-width: 1600px;
  width: 100%;
}

.ns_t3ai--modal.ns_t3ai--modal-medium .modal-content {
  height: 73vh;
  max-width: 1000px;
  width: 100%;
}

.t3-ai-video-modal.ns_t3ai--modal.ns_t3ai--modal-medium .modal-content {
  height: 675px;
}

.ns_t3ai--modal.ns_t3ai--modal-default .modal-content {
  height: 500vh;
  max-width: 800px;
  width: 100%;
}

.ns_t3ai--modal.ns_t3ai--modal-small .modal-content {
  max-width: 600px;
  min-height: 400px;
  width: 100%;
}
