.chatbot-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
}

.chatbot-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 5px;
}

.input-container {
  display: flex;
  gap: 5px;
  padding: 10px;
  border-top: 1px solid var(--jp-border-color1);
  margin-top: auto;
}

.input-container input {
  flex: 1;
  padding: 5px;
  border: 1px solid var(--jp-border-color1);
  border-radius: 4px;
}

.input-container button {
  padding: 5px 10px;
  background-color: var(--jp-brand-color1);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.input-container button:hover {
  background-color: var(--jp-brand-color0);
}

.chat-container {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-message {
  padding: 8px 12px;
  border-radius: 8px;
  max-width: 80%;
}

.chat-message.user {
  background-color: var(--jp-brand-color1);
  color: white;
  align-self: flex-end;
}

.chat-message.assistant {
  background-color: var(--jp-layout-color2);
  align-self: flex-start;
}

.chat-message.system {
  background-color: var(--jp-error-color1);
  color: white;
  align-self: center;
} 



/* ✅ Modernized Chat Buttons */
#chat-buttons-container {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
  border-top: 1px solid var(--jp-border-color1);
}

#chat-buttons-container button {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease-in-out, transform 0.1s ease-in-out;
}

#chat-buttons-container button:active {
  transform: scale(0.95);
}

.apply-btn {
  background-color: var(--jp-success-color1);
  color: white;
}

.apply-btn:hover {
  background-color: var(--jp-success-color0);
}

.cancel-btn {
  background-color: var(--jp-error-color1);
  color: white;
}

.cancel-btn:hover {
  background-color: var(--jp-error-color0);
}
