.sidePanel {
  position: fixed;
  width: 250px;
  height: 400px; /* Set a fixed height */
  background-color: #001c24;
  opacity: 0.75;
  font-size: 1rem;
  z-index: 99999;
  border-radius: 5px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: height 0.3s ease-in-out;
}

.sidePanel.minimized {
  height: 30px;
}

.sidePanel .topBar {
  background-color: #00384a;
  padding: 5px 10px;
  cursor: move;
  user-select: none;
  color: white;
  font-weight: bold;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidePanel .topBar .minimizeButton {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 12px;
  padding: 0;
  margin: 0;
}

.sidePanel .plan {
  color: white;
  margin: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Change from overflow-y: auto to overflow: hidden */
  transition: opacity 0.3s ease-in-out;
}

.sidePanel.minimized .plan {
  opacity: 0;
  pointer-events: none;
}

.sidePanel .plan .messages-list {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 10px; /* Add some space between messages and input */
}

.sidePanel .plan .message {
  margin-bottom: 8px;
}

.sidePanel .plan .message.completion {
  font-weight: bold;
  color: #4CAF50; /* Green color for completion message */
}

.user-input-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.user-input-form input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-bottom: 5px;
}

.user-input-form button[type="submit"] {
  width: 100%;
  padding: 8px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.user-input-form button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.voice-input-button {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  display: block;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 5px;
}

.voice-input-button.listening {
  background-color: #f44336;
}

.input-area {
  display: flex;
  flex-direction: column;
  padding: 10px;
  background-color: #f0f0f0;
}

.stop-execution-button {
  width: 100%;
  padding: 8px;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  margin-bottom: 5px;
}
