/* Custom css */
/* .chat-home-page_banner-section { margin: 0 auto; padding: 40px 0 0; } */
.start-big { max-width: 94px; }
.chat-sub-heading-txt { margin: 12px 0 0;  }
.chat-heading-txt { font-size: 36px; line-height: 48px;}
.chat-home-page_inner-section { padding: 0; overflow: auto; -ms-overflow-style: none; scrollbar-width: none;}
.chat-home-page_inner-section::-webkit-scrollbar { display: none; }
.ai-poc-main-section {display: flex; flex-direction: column;gap: 40px;}
.chat-home-page_main-section button.explore-now-btn { font-size: 15px; line-height: 19px; padding: 5px 8px; border-radius: 8px; }
.chat-home-page_main-section button.explore-now-btn:hover { background-color: rgba(255, 255, 255, 0.3); }
.chat-home-body { background-image: url(/assets/images/bg-ellipse.svg); background-repeat: no-repeat; background-position: center 200px; background-size: cover; }
.chat-home-page_main-section.card-open { background: unset; }
.chat-input:focus { outline: none; box-shadow: none; }
.explore-icon { max-width: 20px; }
.explore-txt, .bottom-txt { font-size: 16px; line-height: 20px; }
.explore-section { padding: 5px; display: flex; flex-direction: row;}
.chat-input-section { border-top-left-radius: 12px; border-top-right-radius: 12px; padding: 8px 7px 8px 14px; }
button.voice-btn { margin: 0 10px 0 0; }
.voice-btn .voice-icon { width: 24px; height: 24px; }
.voice-btn:hover .voice-icon path { fill: #000000; }
.send-icon { width: 24px; height: 24px; }
.chat-input-width-section { border-radius: 12px;}
.menu-close-icon { display: none; }
.explore-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
.explore-pop-icon img { max-width: 24px; }
.swiper-slide { width: auto !important; }
.swiper-horizontal { margin: 0 !important; }
button.explore-tab { padding: 8px 12px; color: #828282;border-radius: 6px; transition: background 0.2s; font-size: 16px; line-height: 20px;}
button.explore-tab:hover,  button.explore-tab.active { border: 1px solid #EAEAEA; background: #FFFFFF; color: #000; }
input[type="radio"] { appearance: none; width: 16px; height: 16px; border: 1px solid #828282; border-radius: 50%; position: relative;}
input[type="radio"]:checked{border: 1px solid #008DCE;}
input[type="radio"]:checked::before {  content: '';  position: absolute; top: 3px;  left: 3px;  width: 8px;  height: 8px;  background-color: #008DCE; border-radius: 50%;}
/* Or fully custom styles */

ul.chat-output-list {color: #000;}
ul.chat-output-list li{list-style: disc !important; }
ul.chat-output-list li::marker{text-indent: 1px !important;}
.swiper-button-prev, .swiper-button-next { opacity: 0 !important; }
.chat-home-page_main-section { background-image: url(/assets/images/star-svg-bg.svg); background-repeat: no-repeat; background-position: center 60px; }
.menu-icon-button:hover svg path { fill: #008DCE; }
.menu-icon-button.active svg path { fill: #008DCE; }

/* File Upload Section Design */
.file_upload-section .extract-btn.disable-btn{ background-color:#C4C4C4;cursor: not-allowed;}
.file_upload-section .extract-btn.disable-btn:hover{background-color: #C4C4C4;}
.file_upload-section .extract-btn{background-color: #008DCE;border-radius: 6px;padding: 6px 10px;border: none;}
.file_upload-section .chat-input-section{padding:10px 7px 6px 10px;}
.file_upload-section .extract-btn:hover{background-color: #000000;}
.file_preview-content{border-radius: 8px;padding: 5px;}
button:focus, button:focus-visible { outline: 0;}
.file_data-txt{font-size: 14px; line-height: 18px;}
.file_upload-section .upload-txt, .file_upload-section .chat-input, .file_upload-section .extract-btn{font-size: 16px; line-height: 20px;}
.file_upload-section .upload-txt svg{fill: #008DCE;}

.file_upload-section .upload-txt.disable-active{color: #828282;cursor: not-allowed;}
.file_upload-section .upload-txt.disable-active svg{fill: #888888;}
/* File Upload Section Design */
.chat-home-body.menu-open {overflow: hidden;background-color: rgba(0, 0, 0, 0.5);}
.chat-home-page_inner-section.top_explore-section{scroll-behavior: smooth;}
.file_upload-section.chat-input-main-section{padding: 0px;}

/* text-summarization-css */
/* .text-summarization-section p{margin: 0px 0px 20px;} */
.file-upload-scroll::-webkit-scrollbar {display: none;}
.file-upload-scroll {-ms-overflow-style: none; scrollbar-width: none;}


/* Affinity Page */
.scroll-height{overflow-y: auto;}
.secondary-button{background-color: transparent; padding: 6px 12px; border-radius: 6px;}
.secondary-button:hover {background-color: #E4F6FF;}
.affinity-grouping__container li::marker {font-size: 10px;}
.upload-txt.hide-label{visibility: hidden;}

/* image search */
.image-search-content .image-search-container{max-width: 936px;}
/* Common CSS */
.robot-popup-main-section{margin: 0px 0px 40px; left: 20px;}
.robo-popup-section{bottom: -47px;}
.image-grid-section{overflow-y: auto;}
.image-grid-section::-webkit-scrollbar {display: none;}
.image-grid-section {-ms-overflow-style: none; scrollbar-width: none;}
.chat-open .chat-home-page_main-section{background-image: none;}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #008DCE;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.4s infinite both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Draw vertical tree line */
.json-tree .json-viewer .object-content {
    border-left: 2px solid #d0d0d0;
    margin-left: 14px;
    padding-left: 10px;
}

/* Line should not appear on empty or collapsed nodes */
.json-tree .json-viewer .collapsed > .object-content {
    border-left: none !important;
}

.common-container_affinity {
    /* max-width: 900px; */
    margin: 0 22%;
}

/* Make ReactMarkdown headings bold */
.result-content h1,
.result-content h2,
.result-content h3,
.result-content h4,
.result-content h5,
.result-content h6 {
    font-weight: 700 !important;
    font-family: 'InstrumentSans-Bold', 'InstrumentSans-Medium', sans-serif !important;
    color: #000 !important;
    margin-top: 16px !important;
    margin-bottom: 12px !important;
}

.result-content h1 { font-size: 24px !important; }
.result-content h2 { font-size: 20px !important; }
.result-content h3 { font-size: 18px !important; }
.result-content h4 { font-size: 16px !important; }

.result-content { margin-top: 65px !important;
  scrollbar-width: none;
}
.markdown-content strong {
  font-weight: 700; /* or font-weight: bold; */
}

.markdown-content em {
  font-style: italic;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  font-weight: 600;
}


/* For chat message content specifically */
.bg-\[#F7F7F7\] h1,
.bg-\[#F7F7F7\] h2,
.bg-\[#F7F7F7\] h3,
.bg-\[#F7F7F7\] h4 {
    font-weight: 700 !important;
    font-family: 'InstrumentSans-Bold', 'InstrumentSans-Medium', sans-serif !important;
}


@keyframes blink {
    0% { opacity: .2; transform: translateY(0); }
    20% { opacity: 1; transform: translateY(-4px); }
    100% { opacity: .2; transform: translateY(0); }
}

@media screen and (min-width: 1400px) {
  .chat-home-page_main-section {background-position: center; }
  .chat-input-main-section{position: relative;}
  .robot-popup-main-section{left: -300px;}
}

@media screen and (max-width: 1360px) {
  .popup-text-section{max-width: 240px;}

}
@media screen and (max-width: 1260px) {
  .popup-text-section{max-width: 210px;}
}
@media screen and (max-width: 1200px) {
  .robot-popup-main-section{margin: 0px 0px 203px;}
  /* .robo-popup-section{bottom: 130px;} */

/* Classification Page */
.classification-container .result-image{ width: 100%; max-width: 250px;}
.hide-content{display: none;}
.image-container{display: none;}
.image-container.show-image-popup{display: flex;}
.classification-page .file_upload-section .chat-input-section { padding: 10px 10px 6px 10px;}
/* Classification Page */

}
@media (max-width: 1024px) {
   .popup-description,.popup-title{
    font-size: 14px;
    line-height: 20px;
  }
}
@media screen and (max-width: 991px) {
  /* File Upload Section Design */
  .explore-txt, .bottom-txt, .chat-home-page_main-section button.explore-now-btn{font-size: 14px; line-height: 18px;}
  .file_upload-section .upload-txt, .file_upload-section .chat-input, .file_upload-section .extract-btn{font-size: 15px; line-height: 20px;}
  /* File Upload Section Design */
  /* .robo-popup-section{bottom: 200px;} */
}

@media screen and  (max-width: 767px) {
  .explore-card-grid {grid-template-columns: repeat(2, 1fr);gap: 12px;}
  .chat-input-width-section {max-width: 80%;}

}

@media screen and  (max-width: 576px) {
  .explore-card-grid { grid-template-columns: repeat(1, 1fr); gap: 6px; }
.chat-home-body.menu-open .chat-input-main-section { z-index: -9; }
.theme-icons-list, .menu-items { display: block; }
.chat-heading-txt { font-size: 25px; line-height: 29px; }
.explore-txt, .explore-now-btn { font-size: 13px; line-height: 17px; }
.chat-heading-txt { margin: 10px 0; }
.chat-home-page_banner-section { padding: 0; }
.menu-open .chat-home-page_inner-section{overflow: hidden;}
.menu-open .bg-clip-text{background-image: linear-gradient(to right,#557DC7,  #3AA9DD, #C968E2, #FFAD7B);}
.menu-open .ai-poc-main-section{z-index: -1;}
}

@media screen and  (max-width: 400px) {

button:focus,
button:focus-visible {
  outline: 0;
}
}