:root{
    --sidebar-w: 250px;
    --content-max-w: 860px;
}
html,
body {
    height: 100vh;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom, 20px); /* Ensures space for the nav bar */
    background: none !important;
}

#prompt_input:hover{
    border-color: #cbcbcb47 !important;
}
.icon-bars i{
    color:'.$floatingArrow.'!important;
}
#site-header{
    background-color:'.$topbarColor.'!important;
}
#site-header-responsive{
    background-color:'.$topbarColor.'!important;
}
.resend_prompt{
    /* background-color:'.$topbarColor.'!important; */
    border-color:'.$topbarColor.'!important;
}
.cancel_resend_prompt:hover{
    background-color:'.$topbarColor.'!important;
        border-color:'.$topbarColor.'!important;
}
.pginate_result:hover{
    background-color: #333333 !important;
    border-color:'.$topbarColor.'!important;
}
.upload-photo-item:hover{
    background-color:rgba(249, 182, 167, 0.79)!important;
}
.modal-backdrop {
    z-index:0;
}
.ai_register_email_btn{
    background-color:'.$iconColor.'!important;
    border-color:'.$topbarColor.'!important;
}

.hidden{
    display:none;
}

.pagination {
    justify-content: center;
}
.page-number {
    font-weight: bold;
    padding: 0 10px;
    color: #ffffff;
}

.cursor-pointer{
    cursor: pointer;

}

/******************* Colors ********************/
.fc-default{
    color: #556665;
}

/******************* Spaces ********************/
.left-50{
    left:50px !important;
}
.pl-50{
    padding-left: 50px !important;
}
.pr-50{
    padding-right: 50px !important;
}
.gap-1{
    gap: 0.5rem !important;
}
.m-b-0{
    margin-bottom: 0 !important;
}

/******************* Size ********************/
.font-15{
    font-size:1.5rem!important;
}

.h-100vh{
    height: 100vh;
}

/******************* Sidebar Content ********************/
@media (max-width: 768px) {
    .navbar-brand img{
        display: none;
    }
    .full-screen-sidebar{
        display:none;
    }

}
@media (max-width: 900px) {
    
    .right-sidebar{
        display:none;
    }

}

.fixed-sidebar-left  {
    /* background-color: none !important; */
    box-shadow: none !important;
}
.sidebar-left-responsive{
    height: 70px
}

.sidebar-button{
    margin-top:20px;
    
}
.sidebar-button i{
    width: 1.5em;
    height: 1.5em;
}
.fixed-sidebar .logo{
    background-color: transparent !important;
}
.sidebar-left-menu{
    margin: 20px 0px;
    border-top: solid 1px #f1f1f1;
}
.sidebar-logo{
    max-width: 192px;
    height: 70px;
    padding: 20px 15px; 
}
.full-screen-sidebar .fixed-sidebar-left{
    transform:none !important;
    z-index: 22;
    position: unset !important;
}
    
.full-screen-sidebar .sidebar--large{
    width: var(--sidebar-w);
}
.right-sidebar{
    width: var(--sidebar-w);
}
.full-screen-sidebar .fixed-sidebar-left .sidebar-left-menu{
    margin-top: 0 !important;
}

/******************* Navbar Content ********************/

.header-top{
    display: none;
}
.navbar{
    height: 70px;
    /* background: none !important; */
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%; /* just below navbar */
        left: 0;
        right: 0;
        background: #fff; /* adjust to your theme */
        z-index: 1050; /* higher than content */
        border-top: 1px solid #ddd; /* optional */
    }
    .navbar-collapse.collapse.show {
        display: block;
    }

    /* Prevent animation height pushing */
    .navbar-collapse.collapse {
        display: none;
    }
}


/******************* Main Content ********************/

.main-container{
    display:flex;
    height: 100vh;
    background-color: #f1f1f1;
}
.ai-content-section{
    
    flex: 1;
    height: 100vh;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.sb-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 70px);
}



/******************* Side Bar ********************/
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

/*******************Chat Header ********************/
.ai-header{
    display:flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #faebd7;  
}

/************************** Chat Body **************************/
.ai-body{
    max-width: var(--content-max-w);
    flex: 1;
    display:flex;
    justify-content: center;
    overflow-y: auto;  
    overflow-x: hidden;
}
.user-prompt{
    overflow-wrap: break-word;
}
.conversation_area{
    padding: 20px;
    width: 100% !important;
}

@media (min-width: 900px) {
    .cart-icon-small{
        display: none;
    }
}
.cart-icon-small{
   right: 0;
   fill: #d04949 !important;
}
.cart-icon-small svg{
    width: 30px;
    height: 30px;
}

.response-loading{
    display:inline-block;
    /* Make the text itself the mask so the gradient shows through */
    color: transparent;
    background: linear-gradient(
        100deg,
        rgba(0,0,0,0.15) 30%,
        rgba(0,0,0,0.35) 50%,
        rgba(0,0,0,0.15) 70%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aiShimmer 2.5s ease-in-out infinite;
}
@keyframes aiShimmer{
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .response-loading{ animation: none; background-position: 0 0; }
}

/************************** Chat Footer **************************/
.ai-foot{
    
    background-color: #f1f1f1;
    display:flex;
    justify-content: center;
    padding: 16px;
    width: 100%;
    
}
.form-group{
    margin-bottom: 0 !important;    
}

.chat-container{
    max-width: var(--content-max-w);
    margin-bottom: 60px;
    padding: 10px;
    border-radius: 25px !important; 
    width: 100%;
}

.send_prompt_btn{
    width: 25px !important;
    height: 25px !important;
}
.send_prompt_btn svg{
    width: 15px !important;
    height: 15px !important;
}

.form-control:focus{
    background-color: unset !important;
    box-shadow: none !important;
}

.upload-preview {
    padding: 10px;
    width: 100%;
    display: none;
}
.upload-preview .img{
    width: 100px;
    height: 90px;
    margin-right: 8px;
    max-width: unset !important;
}
.del-image{
    position: absolute;
    right: 0;
    top: 1px;
    line-height: normal;
    cursor:pointer;
    font-size: 20px;
    background-color: #fff;
    border-radius: 20px;

}
.label-floating textarea{padding-left:16px!important}
.label-floating.with-icon label.control-label{left:16px!important}
.news-feed-form textarea{min-height:50px!important}


.footer{
    display: none;
}