/* @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=STIX+Two+Text&display=swap'); */
*{
    padding: 0px;
    margin:0px;
    /* font-family: "Montserrat", sans-serif !important; */
    /* font-family: "STIX Two Text", serif !important;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal; */
}
div{
    box-sizing: border-box;
    font-size: 15px
}
.bg-white{
    background: #fff;
}
.bg-theme{
    background: var(--theme-color)
}
.bg-gray{
    /* background: #e8e8e880; */
    background: #f8f7fb;
}
.side-link a{
    /* transition: all 0.4s; */
    border: 1px solid transparent;
    text-decoration: none;
    border-radius: 5px;
}
.side-link a:hover,.side-link a.active{
    /* background: #fff;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    border-radius: 7px; */
    background: #8d37ff0f;
    border: 1px solid rgba(141, 55, 255, .06);
    color: var(--theme-color);
}
.nav-link{
    transition: all 0.5s;
}
.nav-link:hover,.nav-link.active{
    background: #fff;
    color: var(--theme-color);
    border-radius: 3px;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}
.mobile-menu{
    padding: 0px;
    width: 0px;
    transition: all 0.3s  ease-in-out;
}
.mobile-menu .side-fix{
    border-radius: 0px 15px 15px 0px;
}
.mobile-menu.w-280 {
    flex: 0 0 250px;
    width: 250px;
}
.side-fix{
    position: fixed;
    width: 250px;
    transition: left 0.3s ease;
}
@media (min-width:992px){
    .side-fix.lft-0{
        left: 0px;
    }
}
.left-280{
    left: -250px;
}
.input-bottom{
    position: sticky;
    bottom: 0;
    /* background: #fff; */
    padding-bottom: 15px;
}
h1{
    font-size: 45px;
    font-weight: bolder !important;
}
@media (max-width:992px){
    h1{
        font-size: 25px;
    }
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -250px;
        background: #fff;
        z-index: 999;
        transition: left 0.3s ease;
    }
    .mobile-menu .side-fix{
        transition: left 0.3s ease;
        position: fixed;
        background: #fff;
        left: -250px;
    }
}
.feedbackimg{
    cursor: pointer;
    transform: scale(0.9);
    transition: all 0.3s;
}
.feedbackimg:hover{
    transform: scale(1);
}
.sidenav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    height: 120vh;
    background-color: rgb(0 0 0 / .5);
    z-index: 997;
    display: none;
}
.show-overlay {
    display: block;
    opacity: 1;
}
.left-0{
    left: 0px !important;
}
.text-white{
    color: #fff;
}
.border-0{
    border:none;
}
.border-b-1{
    border-bottom: 1px solid #ddd;
}
.border_dash{
    border: 2px dashed var(--theme-color);
}
.list-group-item:hover{
    background: #eef0f6;
}
.text-center{
    text-align: center;
}
.text-decoration-none{
    text-decoration: none;
}
.text-theme{
    color:var(--theme-color) !important
}
.text-danger{
    color: #dc3545
}
.text-gray{
    color: gray;
}
.logo-text{
    font-size: 20px;
}
.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}
.radius-7{
    border-radius: 7px;
}
.radius-50{
    border-radius: 50px;
}
#some_examples{
    cursor: pointer;
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    width: 100%;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1;
}

.dropdown-content a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: #333;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown.show .dropdown-content {
    display: block;
}
.cursor-pointer{
    cursor: pointer;
}
.chat-input-container {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    border-radius: 12px;
    /* box-shadow: 0 6px 12px 0 rgba(0, 0, 0, .3); */
    /* min-height: 250px; */
    padding: 10px;
    position: relative;
}
.inner-box{
    position: absolute;
    top:20%;
    left: 50%;
    transform: translateX(-50%);
}
.chat-input {
    flex-grow: 1;
    min-height: 200px;
    padding: 8px;
    outline: none;
    border: none;
    font-size: 18px;
    font-family: Arial, sans-serif;
    background: none;
    color: #333;
    white-space: pre-wrap;
}
.min-h-60{
    min-height: 60px;
}
.chat-input:empty::before {
    content: attr(data-placeholder);
    color: #aaa;
    pointer-events: none;
}
.new-chat{
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    font-size: 16px;
    padding: 10px 20px;
    transform: scale(0.9);
    transition: all 0.3s;
} 
.new-chat:hover{
    transform: scale(1);
}
.send-button {
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 30px; */
    height: 30px;
    margin-left: 8px;
    border: none;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-sizing: content-box;
    padding: 5px 15px;
    border-radius: 25px;
    border: transparent;    
    /* animation: gradient 5s ease infinite; */
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
} 
.send-button:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}
  
.send-button svg {
    width: 20px;
    height: 20px;
}
@media (max-width:500px) {
    /* .send-button {
        width: 30px;
        height: 30px;
    }
    .chat-input-container {
        padding: 0px 10px;
    }
    .send-button svg {
        width: 15px;
        height: 15px;
    } */
}
.uploaded-img{
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    border: 1px solid #ddd;
    border-radius: 7px;
    object-fit: cover;
}
.object-fit-cover{
    object-fit: cover;
}
.opicity-low{
    opacity: 0.6;
}
.position-relative{
    position: relative;
}
.cross-img{
    position: absolute;
    top: -5px;
    right: -5px;
    cursor: pointer;
}
/* HTML: <div class="loader"></div> */
.upload-loader {
    position: absolute;
    left: 25%;
    top: 25%;
    width: 50px;
    --b: 5px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #514b82;
    -webkit-mask:
      repeating-conic-gradient(#0000 0deg,#000 1deg 70deg,#0000 71deg 90deg),
      radial-gradient(farthest-side,#0000 calc(100% - var(--b) - 1px),#000 calc(100% - var(--b)));
    -webkit-mask-composite: destination-in;
            mask-composite: intersect;
    animation: l5 1s infinite;
}
@keyframes l5 {to{transform: rotate(.5turn)}}
.nav-link{
    font-weight: 500;
}
.active .nav-link{
    color: var(--theme-color) !important
}
.outline-none{
    outline: none;
}
.h-full{
    height: 100vh;
}
.h-100{
    height: 100%;
}
.overflow-auto{
    overflow: auto;
}
.w-120{
    width: 120px;
}
.dropdown-toggle{
    cursor: pointer;
}
.dropdown-menu{
    min-width: 100%;
}
.content h2,.content h3{
    /* color:var(--theme-color) !important */
}
.content h2{
    font-size: 1.75rem;
}
.content h3{
    font-size: 1.5rem;
}
.content ul{
    margin-left: 30px;
}
.bottom_btn{
    background: var(--theme-color);
    color: #fff;
}
.loader {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 80px;
}
.loader samp {
    display: inline-block;
    position: absolute;
    left: 0; /* Adjusted to start from the left edge */
    background: #EEF1F5;
    animation: loader 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    height: 8px;
}
.loader samp:nth-child(1) {
    top: 10px;
    animation-delay: -0.24s;
}
.loader samp:nth-child(2) {
    top: 28px;
    left: 0; /* Starts from the left edge */
    animation-delay: -0.12s;
}
.loader samp:nth-child(3) {
    top: 47px;
    animation-delay: 0s;
}

.loader samp:nth-child(4) {
    top: 66px; /* Adjusted for 4th element */
    animation-delay: 0.12s; /* Slightly delayed */
}
.loader samp:nth-child(5) {
    top: 85px; /* Adjusted for 5th element */
    animation-delay: 0.24s; /* Further delayed */
}

@keyframes  loader {
    0% {
        left: 0;
        width: 0;
    }
    50%, 100% {
        left: 0; /* Stays at the left edge */
        width: 100%; /* Expands to full width */
    }
}
/* #story-output::after {
    content: '|';
    display: inline-block;
    animation: blink 0.5s step-end infinite;
} */
.parent-div.justify-content-between > div:first-child {
    flex-grow: 1; /* Makes it take available space */
    overflow-y: auto; /* Enables vertical scrolling when content overflows */
    min-height: 0; /* Prevents flexbox issues with overflow */
}

.parent-div.justify-content-between > div:last-child {
    flex-shrink: 0; /* Ensures it stays at the bottom */
}
#result-chat{
    overflow-y: auto;
}
#result-chat hr{
    /* margin: 20px 0px; */
    display: none;
}
.content-div h2,.content-div h3{
    margin: 20px 0px;
}
.content-div h2{
    font-size: 1.75rem;
}
.content-div h3{
    font-size: 1.55rem;
}
#result-chat h2,#result-chat h3{
    color: var(--theme-color);
}
#result-chat h3{
    font-size: 18px;
    font-weight: 500;
    margin-top: 14px;
    margin-bottom: 7px;
}
#result-chat p,.content-div p,.reply-message{
    margin-top: 10px;
    margin-bottom: 10px;
    /* padding-left: 20px; */
    font-size: 18px;
    line-height: 1.8;
}
#result-chat p {
    font-size: 15px;
    margin-bottom: 14px;
    color: #0F172A;
}
#result-chat ul,#result-chat ol,.content-div ul{
    margin-left: 30px;
}
#result-chat ul li,#result-chat ol li,.content-div ul li,.content-div ol li{
    margin:7px;
    font-size: 15px;
    list-style: disc;
}
@keyframes blink {
    from { opacity: 1; }
    to { opacity: 0; }
}
button{
    cursor: pointer;
}
button:hover{
    /* box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important; */
}

@media (max-width:500px){
    .related_btns a{
        width: 180px;
    }
    .related_btns .mytab{
        padding: 10px 5px;
        width: 150px;
    }
}