.floating-voice-bot {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  /* background: linear-gradient(90deg, #00c6ff, #0072ff, #00ffea); */
  background: linear-gradient(90deg, #1e3c72, #4769a3, #00c6ff);
  /* background: linear-gradient(90deg, #000428, #004e92, #00ffea); */
  border-radius: 50px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: all 0.3s ease;
  padding: 6px 8px;
  overflow: hidden; 
  height: auto;           /* Let container grow automatically */
  align-items: stretch;   /* stretch children vertically */
}

.floating-voice-bot textarea {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  border-radius: 40px;
  resize: none;
  min-height: 40px;
  max-height: 60px;
  line-height: 18px;
  overflow-y: auto;
  padding: 10px 10px;
  transition: height 0.2s ease;
}

.floating-voice-bot textarea::placeholder {
  color: rgba(255,255,255,0.8);
}

/* Make scrollbar invisible / transparent */
.floating-voice-bot textarea::-webkit-scrollbar {
  width: 6px;
}

.floating-voice-bot textarea::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2); /* light transparent thumb */
  border-radius: 3px;
}

.floating-voice-bot textarea::-webkit-scrollbar-track {
  background: transparent;
}

.floating-voice-bot button {
  background: transparent !important;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  border-color: transparent;
  width: 50px;   /* bigger button */
  height: 50px;  /* bigger button */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  box-shadow: none;
  outline: none;
  transition: all 0.3s ease;
}

.floating-voice-bot button:hover {
  background: rgba(255,255,255,0.2);
}

.floating-voice-bot .attach-btn {
  margin-right: 6px;
}

.floating-voice-bot .mic-btn {
  margin-left: 6px;
}
