body {
  font-family: "Helvetica", sans-serif;
  background: #ffffff;
  margin: 0;
}

/* Centered layout container */
.page-container {
  padding: 0 7%;
}

/* HEADER */
.top-header {
  text-align: center;
  padding: 50px 0 10px;
}

.top-header h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: -10px;

  background: linear-gradient(90deg, #5731ED, #0B69EB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* For better browser support */
  background-clip: text;
  color: transparent;
}

.top-header p{
  color: #59606C;
  font-size: 16px;
  font-weight: 400;
}

.brand-logo {
  display: block;
  margin: 0 auto;   /* center + spacing below */
  height: 40px;               /* adjust as needed */
  object-fit: contain;
}

/* CHAT */
.chat-container {
  width: 100%;
  margin-top: 10px;
  display: block;
  height: calc(100vh - 400px);
  overflow: hidden;
}

/* CHAT BUBBLES */
.chat-messages {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  margin: 0 auto;         /* 🔥 THIS centers it */
  background: #F1F2F7;
  border-radius: 15px;
  padding: 40px;
  box-sizing: border-box;
}

.user-message {
  text-align: right;
  margin: 25px 0 20px 0;
  color: #0057E5;
  font-style: oblique;
  font-weight: bold;
}

.user-bubble {
  display: inline-block;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 15px 0 15px 15px;
}

.bot-message {
  display: flex;
  gap: 14px;
  color: #161C26;
  margin-bottom: 40px;
}

.bot-bubble {
  background: linear-gradient(
    90deg,
    rgba(87, 49, 237, 0.10),
    rgba(11, 105, 235, 0.10)
  );  
  padding: 15px;
  border-radius: 0 15px 15px;
}

/* INTERACTION PANEL */
.interaction-panel {
  width: 100%;
  transition: all 0.4s ease;
}

/* CENTER MODE */
.center-mode {
  position: relative;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* BOTTOM MODE */
.bottom-mode {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
  padding: 20px 0;
}

/* Inner wrapper for padding */
.bottom-mode .top-search-row,
.bottom-mode .tabs-section,
.bottom-mode .toggle-tabs {
  padding: 0 7%;
}

/* Search Row */
.top-search-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.search-wrapper {
  flex: 1;
  display: flex;
  gap: 10px;
}

.search-wrapper input {
  flex: 1;
  height: 25px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(
    90deg,
    rgba(87, 49, 237, 0.10),
    rgba(11, 105, 235, 0.10)
  );  
  font-style: oblique;
  font-weight: bold;
  font-size: 16px;
}

.search-wrapper input::placeholder{
  color: #0057E5;
}

.search-wrapper button {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(45deg, #4f6dff, #7b5cff);
  color: white;
}

.search-wrapper button:disabled {
  background: #c7c9d1;
}

/* Tabs Section */
.tabs-section {
  margin-top: 20px;
}

.section-title {
  margin-bottom: 15px;
}

.tabs {
  width: 100%;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  justify-content: space-between;
}

.tab {
  flex: 1;
  text-align: center;
  background: #F1F2F7;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  color: #59606C;
  border: 1px solid #F1F2F7;
}

.tab.active {
  background: #F0F6FF;
  color: #0057E5;
  border: 1px solid #0057E5;
}

.tab:hover {
  background: #F0F6FF;
  color: #0057E5;
  border: 1px solid #0057E5;
}

/* Dropdown */
.question-box {
  height: 150px;
  overflow-y: auto;
  background: #F0F6FF;
  border-radius: 12px;
  padding: 8px 0;
}

.question-item {
  padding: 10px 15px;
  cursor: pointer;
  margin: 2px 8px;
  border-radius: 6px;
  color: #59606C;
}

.question-item:hover {
  background: linear-gradient(
    90deg,
    rgba(87, 49, 237, 0.10),
    rgba(11, 105, 235, 0.10)
  ); 
  color: #0057E5;
}

.question-box::-webkit-scrollbar {
  width: 8px;
}

.question-box::-webkit-scrollbar-track {
  background: transparent;
}

.question-box::-webkit-scrollbar-thumb {
  background-color: #53A2FF66;   /* your requested color */
  border-radius: 10px;
}

.question-box::-webkit-scrollbar-thumb:hover {
  background-color: #53A2FFAA;   /* slightly darker on hover */
}

/* Toggle Button */
.toggle-tabs {
  margin-top: 15px;
}

.toggle-tabs button {
  background: #e4ecff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.hidden {
  display: none;
}