.body-flex{
    display: flex;
    height:100%;
}

.wrapper-grow{
    flex-grow: 4;
    max-height:100vh;
    max-width: 75%;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#summary-div{
    height: 98vh;
    flex-grow: 1;
    position: absolute;
    right: 10px;
    top:10px;
    display: none;
    max-width: 450px;
    min-width: 400px;
    z-index: 999;
}

.summary-div-fullscreen{
    left: 10px;
    max-width: 100%!important;
    min-width: 80%!important;
}


#summary-content{
    background-color: #fff;
    border-radius: 10px;
    height: inherit;
}

#summary-content-header{
   height: 50px;
   background-color: hsl(253deg 61% 55%);
   border-top-left-radius: 10px;
   border-top-right-radius: 10px;
}

#summary-content-header-grid{
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 6fr 1fr;
}

#summary-content-header-grid > div{
    padding: 10px;
    align-items: center;
}

#summary-content-header-grid > div > h6, .fa-info-circle, .fa-refresh, .fa-times, .fa-search, .fa-arrows-alt{
   color: #fff;
}

#summary-content-header-grid > div > i{
   font-size: 18px;
}

#summary-content-header-grid > div > a > i{
    font-size: 18px;
}

.header-icon-right{
    justify-self: flex-end;
}

.shrink-top-nav{
    width: calc(83% - 319px)!important;
    right:500px;
}

.iq-footer{
    display: none;
}

#content-page{
    flex-grow: 4;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none; 
}

.split-border{
  border: 1px solid #fff;
  padding-top: 10px;
}

.summarized-data{
    padding:15px;
    height: 75%;
    overflow: hidden;
    overflow-y:scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#introduce-summarize{
    position: relative;
    top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* spacing between items */
    max-width: 100%;
}

.suggestion-prompt{
    background: #f8f0ff;
    border: 2px solid #e6d9ff;
    border-radius: 12px;
    padding: 10px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.suggestion-prompt:hover {
    background: #f0e6ff;
    border-color: #6b48ff;
    transform: translateY(-2px);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(107, 72, 255, 0.1);
}

.bot-emoji{
    font-size: 14px;
    margin-right: 10px;
}

.suggestion-query{
    font-size:12px!important;
}

.intro-header{
    font-size: 20px;
    width: 100%;
    text-align: center;
    margin-bottom: 0px!important;
}

.intro-text{
    margin-bottom: 0px!important;
    padding-left: 0px!important;
    color: #6b48ff!important;
}

.suggestion-intro{
    margin-bottom: 5px!important;
    width: 100%;
    font-size: 14px!important;
    color: #666 !important;
    text-align: center;
}

.suggestion-group {
    width: 100%;
}

.suggestion-group.full-screen {
    width: 70%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.suggestion-group h4 {
    font-size: 14px !important;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.introduce-summarize-text {
    font-weight: bold;
    color: #666;
    font-family: Myriad, sans-serif;
    font-size: 16px;
    text-align: center;
    white-space: nowrap;
}

.summarize-icon{
    height:100px;
    display: block;
    margin:auto;
}

#summarize-btn{
    display: block;
    margin:auto;
}
/* 
#content-div{
  max-width: 350px;
} */

#content-div h1, #content-div h2, #content-div h3{
    font-size:18px!important;
    font-weight: bold;
    margin: 7px;
    text-transform: uppercase;
}

#content-div p{
    font-weight: bold;
    padding-left: 20px;
    color: #000;
}

#content-div h4 {
    font-size: 14px!important;
    font-weight: bold;
}

#content-div ul li{
    list-style-type:square;
    color: #000;
    font-weight: bold;
}

.summpreloader-layout{
    margin: auto;
    display: flex;
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 10px;
    right: 10px;
    z-index: 99;
    background-color: #feeef3;
    opacity: 0.5;
}

.summpreloader-grid{
    margin: auto;
    width: 150px;
    height: 150px;
    display: grid;
    gap: 0px;
    grid-template-columns: auto auto;
    animation: rotate 2s linear 0s infinite;
}

.bot-summpreloader-layout{
    margin: auto;
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background-color: #fff;
    opacity: 0.9;
}

.bot-summpreloader-grid{
    position: relative;
    top: 35%;
    margin: auto;
    width: 100px;
    height: 100px;
    display: grid;
    grid-template-columns: auto auto;
    animation: rotate 2s linear 0s infinite;
}

.item1{
    margin: auto;
    width: 15px;
    height: 15px;
    border-radius: 0%;
    background-color:#6546D2;
}

.item2{
    margin: auto;
    width: 15px;
    height: 15px;
    border-radius: 0%;
     background-color:#6546D2;
}

.item3{
    margin: auto;
    width: 15px;
    height: 15px;
    border-radius: 0%;
     background-color:#6546D2;
}

.item4{
    margin: auto;
    width: 15px;
    height: 15px;
    border-radius: 0%;
     background-color:#6546D2;
}

@keyframes rotate {
    0%{rotate: 0deg; transform: scale(0.6);}
    50%{ rotate: 100deg; transform: scale(0.4);}    
    100%{rotate: 360deg; transform: scale(0.6);}
}

.summpreloader-loader-h{
    margin: auto;
    margin-left: 5px;
}

.iq-float-menu-open-button{
    background: #fff!important;
}

.summarize-chat-div{
    display: flex;
    gap:5px;
    position: fixed;
    align-items: center;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px 15px;
    bottom: 10px;
    min-width: 400px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#summarize-chat-input{
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  resize: none;
}

#summarize-chat-send{
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 8px 16px !important;
    margin-right: 0px!important;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* .summary-user-query{
    background: #fff;
    padding: 20px;
    text-align: left;
    border-radius: 10px;
    margin: 15px 0px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    max-width: 600px;
} */

.summary-user-query {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 12px 15px;
    margin: 10px 0; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 500;
    color: #333;
    border: 1px solid #6b48ff;
    border-left-width : 4px;
    transition: transform 0.2s ease;
}

.summary-user-query:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.query-icon {
    margin-right: 10px; 
    font-size: 16px;
    color: #6b48ff;
}

.search-students-section{
  position: absolute;
  left: 1px;
  right: 1px;
  z-index: 9;
  padding: 10px;
  background-color: #fff;
}

.search-list-background{
    background: #fff;
    padding: 10px;
    margin: 5px;
    display: flex;
    justify-content: space-between;
}

.search-students-section{
    display: none;
    backdrop-filter: blur(100px);
}

.search-students-section.active{
    display: block;
}

#close-search{
    background: #f8f0ff;
    padding: 10px;
    margin: 5px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
}

.copy-name{
    cursor: pointer; 
}

.searched-name{
    width: 60%;
    font-size: 13px !important;
}

.search-results-header{
    text-align: center;
    padding: 5px;
    font-weight: bold;
    background-color: #f8f0ff;
    margin:5px;

}

.rating {
    float:left;
    margin-left: 10px;
}
  
.like,
.dislike {
  display: inline-block;
  cursor: pointer;
  margin: 5px;
}
  
.dislike:hover,
.like:hover {
  color: #2EBDD1;
  transition: all .2s ease-in-out;
  transform: scale(1.1);
}
  
.like.active {
  color: #2EBDD1;
}

.dislike.active {
  color: #2EBDD1;
}

.ai_response table{
 border: 1px solid;
 width: 100%;
 color: #000;
 font-weight: bold;
 margin-bottom: 10px;
}

.ai_response table th,
.ai_response table td {
 border: 1px solid;
 text-transform: uppercase;
 font-size: 12px!important;
 padding: 10px!important;
 font-weight: bold;
}

.ai_response{
    overflow-x: scroll!important;
    scrollbar-color: #888 #fff;
}

.ai_response::-webkit-scrollbar-track{
    background: #fff; 
}

.mw-100{
    max-width:50%!important;
    display: block;
    margin: auto;
}

.mw-350{
    max-width: 350px!important
}

.mw-400{
    max-width: 400px!important
}

.input-100{
    width: 50%!important;
    left:25%;
}

.loader-text-div{
    width: 380px;
    display: block;
    margin: auto;
    position: relative;
    top:40%;
}

.feedback-alert{
    position: absolute;
    top: 70px;
    left: 5px;
    right: 5px
}

.align-alert{
    left: 30%;
    right: 30%;
}

.align-search-students{
    left: 25%!important;
    right: 25%!important;
}

@media screen and (max-width:1300px){
    .ivy-org-header, .ivy-org-header-version{
        display:none;
    }
}

@media screen and (max-width: 600px) {
    #summary-div { 
      min-width: 0;
      max-width: none;
      right: 2px;
      left: 2px;
    }

    .feedback-alert{
      left: 5px;
      right: 5px
    }

    .summarize-chat-div {
        min-width: 100%;
    }
    
    .navbar-list{
        display: none;
    }

    #summary-full-screen{
        display: none;
    }
  }