.chat-input-wrapper {
  margin-top: 10px;
}

.chat-input-container {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 25px;
  padding: 8px 12px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  gap: 8px;
}

.chat-input-container input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
}

.icon-btn,
.send-btn {
  background: none;
  border: none;
  color: #555;
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s ease;
}

.send-btn {
  background-color: #96b2cb;
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease;
}

.send-btn.enabled {
  background-color: #4d90ca !important; /* green color when enabled */
  cursor: pointer;
}

  
/* .file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.file-preview img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ccc;
} */

.file-preview-wrapper {
  margin-top: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
}

.file-preview-scroll {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.file-thumbnail {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.file-thumbnail.selected {
  border-color: #00c853; /* green border */
}

.file-thumbnail:hover .remove-btn {
  display: flex;
}

.file-thumbnail img,
.file-thumbnail .pdf-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.remove-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  display: none;
  z-index: 2;
}

.remove-btn:hover {
  background: #ef4444;
}

.add-file-box {
  width: 56px;
  height: 56px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  font-size: 24px;
  color: #999;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.img-wrapper {
	position: relative;
	display: inline-block;
	cursor: pointer;
	width: 100px;
	height: 100px;
}

.thumbnail-chat {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: 0.3s;
	border-radius: 4px;
	pointer-events: none; 
}

.img-wrapper:hover .overlay {
	opacity: 1;
}

.overlay i {
	font-size: 24px;
	pointer-events: none;
}

.thumbnail {
	width: 150px;
	height: 100px;
	object-fit: cover;
	cursor: pointer;
	transition: 0.2s;
}

.thumbnail:hover {
	opacity: 0.8;
}
