/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
    }
    ::-webkit-scrollbar-track {
    background: #141414; /* Match main background */
    }
    ::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
    background: #555;
    }
    /* Style for the AI response content */
    .prose-styles {
    color: #d1d5db; /* text-gray-300 */
    }
    .prose-styles h1, .prose-styles h2, .prose-styles h3, .prose-styles h4 {
    color: #f9fafb; /* text-gray-50 */
    }
    .prose-styles strong {
    color: #f9fafb; /* text-gray-50 */
    }
    .prose-styles ul {
    list-style-position: inside;
    padding-left: 0;
    }
    .prose-styles li {
    margin-bottom: 0.5rem;
    }
    .prose-styles a {
    color: #60a5fa; /* text-blue-400 */
    }
    .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    }

.research-logo{
    position: absolute;
    width: 90px;
    top: 26px;
    left: 22px;
    opacity: 0.7;
}

.pfp-img{
    height: 40px;
    width: 40px;
    background-size: cover;
    background-repeat: no-repeat;
    transition:1s;
}

.hide-logo {
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, width 0.3s ease;
}

/* Smooth width transition */
.sidebar-expanded {
    width: 16rem; /* 64 */
  }
  
  .sidebar-collapsed {
    width: 75px !important;
  }
  
  /* Hide text when collapsed */
  .sidebar-collapsed .menu-text {
    display: none;
  }
  
/* Center icons vertically and horizontally when collapsed */
.sidebar-collapsed a,
.sidebar-collapsed div.mb-3 {
  justify-content: center !important;
}
  
hr{
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  border-top: 1px solid #323537;
}

h1, h2, h3{
  margin-top: 10px !important;
  font-size: 19px !important;
  margin-bottom: 10px !important;
}

ul{
  margin: 20px !important;
}

.history-list{
  margin: 0px !important;
}

li{
  margin-bottom:20px !important;
  font-weight: light !important;
}

.history-chat{
  margin-bottom:0px !important;
}

p{
  font-weight: light !important;
}

.view-products{
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 12px;
  background: #323537;
  padding: 8px 20px;
  border-radius: 100px;
}

/* Add this to your main CSS file */

/* This tells the browser to smoothly animate any changes to the opacity 
  property over a duration of 0.4 seconds. */
  .ai-response-content {
  transition: opacity 0.4s ease-in-out;
}

/* We will add this class with JavaScript while the AI is "typing". */
.ai-response-content.is-rendering {
  opacity: 0.6;
}

/* Add this to your CSS file */
.ai-response-content.is-building {
  /* Render the element so it has height, but make it invisible */
  visibility: hidden;
  opacity: 0;
}

@keyframes spin-slow {
  100% { transform: rotate(360deg);}
}
.animate-spin-slow {
  animation: spin-slow 0.4s linear infinite;
}