/* Message Input Container */
.message-input-container {
  width: 700px;
  margin: 1rem auto;
  background-color: #f4f4f4;
  border-radius: 15px;
  padding: 1rem 2.5rem 2.5rem 2.5rem;
  position: relative;
}

/* Input Box */
.input-box {
  width: 100%;
  min-height: 2.5rem;
  max-height: 150px;
  overflow-y: auto;
  outline: none;
  border: none;
  background: transparent;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  resize: none;
  padding: 0.5rem;
}

.input-box::placeholder {
  color: #aaa;
}

/* Toolbar */
.toolbar {
  position: absolute;
  bottom: 0.75rem;
  left: 2.5rem;
  right: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Left Side of Toolbar */
.left-toolbar {
  display: flex;
  gap: 0.5rem;
}

/* Select Containers */
.select-container {
  position: relative;
}

.select-container select {
  background: transparent;
  border: none;
  font-size: 0.9rem;
  color: #333;
  padding-right: 1.5rem;
  appearance: none;
  cursor: pointer;
}

/* Custom Dropdown Arrow */
.select-container::after {
  content: '';
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  pointer-events: none;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
}

/* Send Button */
.send-button {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--active-text-color);
  font-size: 1.5rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.send-button:hover {
  background-color: var(--primary-hover-color);
}

.send-button i {
  font-size: 1rem;
}

/* Adjustments for Dark Mode */
body.dark-mode .message-input-container {
  background-color: #2c2c2c;
}

body.dark-mode .input-box {
  color: #fff;
}

body.dark-mode .input-box::before {
  color: #bbb;
}

body.dark-mode .select-container select {
  color: #fff;
}

body.dark-mode .select-container::after {
  border-top-color: #fff;
}

body.dark-mode .send-button {
  background-color: #fff;
  color: #000;
}
