.gradient-bottom-overlay{
  background: linear-gradient(180deg, rgba(102, 83, 175, 0.00) 0%, #6653AF 100%);
}

.workflow-card{
  border: 2px dashed #6653AF;
}
.splide__pagination{
  display: flex;
  justify-content: center;
  gap: 8px;
}
.splide__pagination__page{
  opacity: 1;
  width: 12px;
  height: 12px;
  margin: 0px;
}
.splide__pagination__page.is-active {
  background: #6552ae;
  transform: scale(1);
  z-index: 1;

}
.blur-text {
    filter: blur(3px);
}
.chat-container{
  height: 100vh;
}
.chat-side {
  margin: 0px;
  overflow: auto;
  min-width: 300px;
  flex-basis: 300px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  border-right: 1px solid #e2e8f0;
}

.chat-btn{
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  padding: 12px 15px;
  border-radius: 7px;
  font-weight: 600;
  gap: 6px;
  color: #1e293b;
  outline: none !important;
  margin-bottom: 20px;
  font-size: 14px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}
.chat-btn:hover{
  background-color: white;
}
.chat-btn:active{
  background-color: #f8fafc;
}
.chat-btn .plus-icon{
  font-size: 18px;
}

.chat-history{
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow: auto;
}
.chat-history .chat-history-item{
  display: flex;
  gap: 6px;
  padding: 10px 8px;
  align-items: center;
  border-radius: 8px;
  transition: all ease-in-out 300ms;
  background-color: #f1f5f9;
}
.chat-history .chat-history-item:hover{
  background-color: #e2e8f0;
}
.chat-history .chat-history-item a{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #334155;
  font-weight: 500;
  font-size: 14px;
}
.chat-history .chat-history-item .chat-history-item-action{
  cursor: pointer;
}

.chat-side-footer .user{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px;
  margin-bottom: 16px;
  width: 100%;
  border: 0px;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  background-color: #f1f5f9;
}
.chat-side-footer .user + .dropdown-menu{
  width: 100%;
  font-size: 12px;
  border: 0px;
  background-color: #e2e8f0;
}
.chat-side-footer .user span{
  color: #334155;
  font-weight: 500;
}
.chat-side-footer-links a{
  color: #64748b;
  font-size: 14px;
}



.chat-content {
background-color: #f8fafc;
height: 100vh;
display: flex;
flex-direction: column;
}

.chat-content-area{
  flex: 1;
  overflow: auto;
}


.chat-inputs-container textarea {
  background-color: transparent;
  outline: none;
  border: none;
  color: #ffffff;
  resize: none;
}

.chat-inputs-area-inner {
  padding-top: 30px;
  padding-left: 150px;
  padding-right: 150px;
}



.chat-content{
  display: flex;
  flex-direction: column;
  height: 100vh;
  flex: 1;
}
.chat-content-innter{
  padding: 24px;
  flex: 1;
  overflow: auto;
}
.chat-content-area{
  max-width: 900px;
  margin: 0 auto;
}

.user-chat-box,.gpt-chat-box {
  display: flex;
  gap: 16px;
}

.user-chat-box{
  padding: 16px;
}
.gpt-chat-box {
  background-color: #f1f5f9;
  padding: 16px;
  border-radius: 8px;
}
.chatgpt-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
  background-color: white;
}
.chat-icon-user{
  width: 32px;
  height: 32px;
  background-color: #4d5bed;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.chat-icon-user span{
  font-weight: 600;
}
.chat-txt{
  color: #1e293b;
}
.chat-txt-user{
  font-weight: 600;
}
.chat-content-area{
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.chat-txt{
  line-height: 1.7;
  font-size: 14px;
  color: #1e293b;
}
.chat-input-area{
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 12px;
}
.chat-inputs-container{
  
  position: relative;
}
.chat-inputs-container textarea{
  font-size: 14px;
    padding: 18px 20px;
    background-color: #eeeeee;
    border-radius: 12px;
    width: 100%;
    padding-right: 48px;
    color: #0f172a;
    font-weight: 300;
    resize: none;
    overflow-y: hidden;
    border: 1px solid #d8dae8 !important;
}
.chat-inputs-container .send-btn{
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 15px 6px;
  background-color: #0f172a;
  padding: 9px 9px;
  border-radius: 8px;
 
}

.chat-inputs-container .mic-btn{
  position: absolute;
  right: 38px;
  bottom: 0;
  margin: 15px 6px;
  background-color: #0f172a;
  padding: 6px 12px;
  border-radius: 8px;
}
.chat-inputs-container .send-btn i,.chat-inputs-container .mic-btn i{
  color: #475569;
}

.chat-inputs-container .send-btn.highlight, .chat-inputs-container .mic-btn.highlight{
  background-color: white;
  box-shadow: 0px 0px 0px 1px #3646eb;
 
}
.chat-inputs-container .send-btn.highlight i{
  color: #1e293b;
}
.custom-scroll::-webkit-scrollbar {
  width: 4px;
}

/* Track */
.custom-scroll::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

/* Handle */
.custom-scroll::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  background: #94a3b8;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
.chat-input-area .nav-tabs{
  gap: 4px;
}

.chat-input-area .nav-tabs .nav-item{

}
.chat-input-area .nav-tabs .nav-item .nav-link {
  padding: 8px 14px;
  font-size: 14px;
  outline: none;
  background-color: transparent;
  border-bottom: 0px;
  color: #8c8c8c;
}
.chat-input-area .nav-tabs .nav-item .nav-link:not(.active):hover{
  border-color: transparent;
}
.chat-input-area .nav-tabs .nav-item .nav-link.active{
  background-color: white;
  border-top: 2px solid #4d5bed;
  color: #0f172a;
}
.chat-input-area .tab-content {
  padding: 8px;
  border: 1px solid #dee2e6;
  border-top: 0px;
  
}

.upload-btn{
  display: flex;
  align-items: center;
  gap: 8px;
}
.upload-document-block{
  display: flex;
  align-items: center;
  gap: 12px;
}
.upload-document-block .form-control{
  overflow: hidden !important;
    appearance: none;
    overflow: hidden;
    height: auto !important;
}
.upload-document-block input::file-selector-button{
    padding: 0.5rem 1rem;
    margin: -0.5rem -1.125rem;
    margin-inline-end: 1.125rem;
    pointer-events: none;
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    border-inline-end-width: 1px;
    border-radius: 0;
}
.upload-list{
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: auto;
  max-height: 165px;
}
.upload-list li{
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.upload-list li{
  padding: 10px 8px;
  align-items: center;
  border-radius: 8px;
  transition: all ease-in-out 300ms;
  background-color: #f1f5f9;
}
.upload-list li:hover{
  background-color: #e2e8f0;
}
.upload-list li span{
  color: #0f172a;
  font-weight: 500;
}

.attachment-block{
  position: absolute;
  top: 15px;
  left: 15px;
}

.attachment-block .dropdown-menu{
  border-radius: 10px;
  z-index: 100;
}
.chat-navbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.data-type-block{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 8px;
}
.data-type-block span{
  padding: 1px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    color: #64748b;
    background-color: #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: .8;
}
.data-type-block span::before{
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: currentColor;
}
.data-type-block span.highlight{
  border-color: #4d5bed;
    color: #4d5bed;
    font-weight: 500;
    background-color: #4d5bed1c;
    opacity: 1;
}

.search-options{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.search-options a{
  display: inline-block;
  padding: 4px 12px;
  font-weight: 500;
  border: 1px solid #4d5bed;
  border-radius: 41px;
  font-size: 14px;
  color: #4d5bed;
}
.search-options a:hover{
  background-color: #4d5bed1c;
}
.chat-history .time-tag{
  font-size: 12px;
  margin-bottom: 4px;
  font-weight: 500;
}
.chat-history .time-tag a{
  color: #4f5464;
  font-weight: 500;
}
.chat-history .time-tag:not(:first-child){
  margin-top: 30px;
}
.gap-1{
  gap: 4px;
}
.gap-2{
  gap: 8px;
}

.ai-section .heading-block h5{
  line-height: 150%;
  background-color: #ffffff1a;
  padding: 15px;
  border-radius: 12px;
  color: #ffffffde !important;
  border: 1px dashed #ed7e1f59;
  font-weight: 400 !important;
}
/* .ai-section  .chat-inputs-container textarea{
  padding-bottom: 48px;
}
.ai-section .chat-inputs-container .mic-btn,
.ai-section .chat-inputs-container .send-btn{
  bottom: 14px;
} */

.chat-limit {
  position: absolute;
  white-space: nowrap;
  right: 88px;
  bottom: 14px;
  font-size: 10px;
  color: #1a1a1acf !important;
}

.premium-features-tags span{
  font-size: 12px;
  font-weight: 500;
  background-color: #e1e4ff;
  padding: 2px 8px;
  border-radius: 24px;
  color: black;
}
