.full-height-row {
  height: 100vh;
  overflow: hidden;
}

.scrollable-column {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  /* padding: 0; */
}

.filter-column {
  display: flex;
  flex-direction: column;
  border-right: 3px solid #ddd;
}

.chat-container {
  height: 83vh;
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 10px;
  padding: 10px;
}

.chat-message {
  margin-bottom: 10px;
  max-width: 70%;
  word-wrap: break-word;
}

.chat-message.user {
  margin-left: auto;
  background-color: #dcf8c6;
  border-radius: 15px 15px 0 15px;
  padding: 10px;
}

.chat-message.assistant {
  background-color: #f0f0f0;
  border-radius: 15px 15px 15px 0;
  padding: 10px;
  transition: background-color 0.3s; /* Smooth transition for hover effect */
  cursor: pointer; /* Changes cursor to pointer to indicate clickability */
}

.chat-message.assistant:hover {
  background-color: #d6d8db; /* Slightly darker grey on hover */
}

.chat-message.selected {
  border: 2px solid #007bff; /* Blue border for selected message */
  background-color: #e1f5fe; /* Light blue background for selected message */
  cursor: default; /* Change cursor to default to indicate non-clickable */
}

/* Disable hover effect for selected messages */
.chat-message.selected:hover {
  background-color: #e1f5fe; /* Keep the same background color on hover */
}

/* Increase the height of the input box */
#filterInput {
  height: 10vh;
}

/* Add vertical spacing between the input box and the button */
#searchButton {
  margin-top: 10px; /* Adjust spacing as needed */
}

/* Style for results column */
.nav-bar {
  position: sticky;
  top: 0; /* Sticks to the top of the results panel */
  background-color: white; /* Background color to prevent overlap with content */
  z-index: 10; /* Ensures it stays above other elements */
  display: flex; /* Align content horizontally */
  justify-content: space-between; /* Push buttons to the right */
  align-items: center; /* Align items vertically */
  padding: 10px; /* Add padding for better appearance */
  border-bottom: 1px solid #ddd; /* Optional: Add a bottom border for separation */
}

/* Floating button to scroll to top of results page */
#back-to-top {
  position: fixed; /* Keep the button fixed within the results panel */
  bottom: 10px;
  right: 10px;
  z-index: 1000;
  display: none; /* Hidden by default */
}

/* Modal style */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  width: 70%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

#example-questions-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.example-question {
  flex: 1;
  border: 2px solid #555;
  border-radius: 15px;
  padding: 10px 20px;
  background-color: #f9f9f9;
  text-align: center;
  /* box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);  */
  cursor: pointer;
}

.example-question:hover {
  background-color: #d5d5d5;
}

/* Custom scrollbar styles for WebKit browsers */
.scrollable-column::-webkit-scrollbar {
  width: 4px;
}

.scrollable-column::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.scrollable-column::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.scrollable-column::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Mobile-specific adjustments */
.show-results-btn {
  display: none;
}
#back-to-chat-btn {
  display: none;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
  
  .show-results-btn {
    display: block;
  }

  #back-to-chat-btn {
    display: block;
  }

  /* Modal responsiveness */
  #example-questions-container {
    flex-direction: column;
  }
  .modal-content {
    width: 80%;
  }
}