body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  background-color: #0066cc;
  color: white;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

header h1 {
  margin: 0;
}

.info-panel {
  background-color: white;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  border-top: 4px solid #d0d0d0;
}

footer {
  margin-top: 40px;
  text-align: center;
  color: #6c757d;
}

/* Form and input styling */
.input-container {
  margin: 20px 0;
}

label {
  display: block;
  margin-bottom: 5px;
}

input {
  padding: 8px;
  width: 300px;
}

button {
  margin-right: 10px;
  padding: 8px 16px;
}

.session-form {
  background-color: white;
  border-radius: 5px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #d0d0d0;
}

.form-group {
  margin-bottom: 15px;
}

.buttons {
  margin-top: 20px;
}

#spinner {
  display: none;
  margin-left: 20px;
  margin-top: 10px; /* Added vertical space between button and spinner */
}

#lastStatus {
  margin-top: 15px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 5px;
}

/* Chat styling */
#chatbox {
  border: 1px solid #ddd;
  height: 400px;
  margin: 20px 0;
  overflow-y: auto;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 5px;
}

.message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 18px;
  max-width: 70%;
  clear: both;
}

.user-message {
  background-color: #e3f2fd;
  float: right;
  text-align: right;
}

.assistant-message {
  background-color: #f1f1f1;
  float: left;
}

.message-timestamp {
  font-size: 0.7em;
  color: #888;
  margin-top: 4px;
}

.chat-message {
  border: 1px solid #ddd;
  margin: 10px 0;
  padding: 10px;
  background-color: #fffde7;
  border-radius: 5px;
}

/* Styling for select dropdowns */
select.form-control,
select.form-select {
  appearance: auto; /* Show browser's native dropdown arrow */
  /* Remove Bootstrap's background image to fix double arrow issue */
  background-image: none !important;
  padding-right: 2rem !important; /* Space for the arrow */
}

/* Fix for dark backgrounds */
select.form-control:focus,
select.form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  border-color: #86b7fe;
}

/* Select dropdown hover state */
select.form-control:hover,
select.form-select:hover {
  cursor: pointer;
}

/* Remove the divider styling */
.divider-container,
.section-divider {
  display: none;
}
