chat button .chat-button1 {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 65px;
	height: 65px;
	border-radius: 50%;
	background: linear-gradient(145deg, #b49c73, #b49c73);
	box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 1000;
}

/* Pulse effect */
.chat-button1::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: #b49c73;
	animation: pulse 2s infinite;
	z-index: -1;
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 0.7;
	}
	70% {
		transform: scale(1.3);
		opacity: 0;
	}
	100% {
		transform: scale(1.3);
		opacity: 0;
	}
}

.chat-button1:hover {
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.chat-icon {
	width: 35px;
	height: 35px;
	fill: black;
	transition: transform 0.3s ease;
}

.chat-button1:hover .chat-icon {
	transform: scale(1.1);
}

.chat-button1 .notification {
	position: absolute;
	top: -5px;
	right: -5px;
	background-color: #ef4444;
	color: white;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid white;
	font-family: Arial, sans-serif;
	animation: bounce 1s infinite;
}

@keyframes bounce {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-3px);
	}
}

.chat-popup {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 350px;
	height: 450px;
	background-color: white;
	border-radius: 15px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	display: none;
	flex-direction: column;
	z-index: 999;
	overflow: hidden;
}

.chat-header {
	padding: 15px 20px;
	background-color: #b69c7a;
	color: white;
	font-family: Arial, sans-serif;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.chat-header .header-content > div:first-child {
	color: black; /* Replace with your desired color */
	font-size: 18px;
	font-weight: 600;
}

.header-content {
	display: flex;
	flex-direction: column;
}

.online-status {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 14px;
	margin-top: 2px;
}

.online-dot {
	width: 8px;
	height: 8px;
	background-color: #4caf50;
	border-radius: 50%;
}

.close-chat {
	color: white;
	cursor: pointer;
	font-size: 20px;
	padding: 5px;
}

.chat-messages {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
	background-color: white;
}

.message {
	margin-bottom: 15px;
	padding: 12px 16px;
	border-radius: 10px;
	max-width: 85%;
	word-wrap: break-word;
}

.user-message {
	background-color: #b69c7a;
	color: white;
	margin-left: auto;
	border-bottom-right-radius: 4px;
}

.received-message {
	background-color: #f8f9fa;
	color: #333;
	margin-right: auto;
	border-bottom-left-radius: 4px;
}

.chat-input-container {
	padding: 15px 20px;
	background-color: white;
	border-top: 1px solid #eee;
	display: flex;
	gap: 10px;
	align-items: center;
}

.chat-input {
	flex-grow: 1;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 20px;
	outline: none;
	font-size: 14px;
}

.chat-input:focus {
	border-color: #b69c7a;
}

.send-button {
	background-color: #b69c7a;
	color: white;
	border: none;
	border-radius: 20px;
	padding: 10px 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	white-space: nowrap;
}

.send-button:hover {
	background-color: #a38a68;
}

.chat-button1 {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: #b69c7a;
	box-shadow: 0 4px 15px rgba(182, 156, 122, 0.3);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.chat-icon {
	width: 30px;
	height: 30px;
	fill: white;
}

/* Ensure the container layout is correct */
.chat-container {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.loader-container {
	padding: 10px;
	margin: 5px;
}

.loader-container.hidden {
	display: none;
}

.typing-indicator {
	display: flex;
	gap: 4px;
	padding: 8px 12px;
	background: #f0f0f0;
	border-radius: 15px;
	width: fit-content;
}

.typing-indicator span {
	width: 8px;
	height: 8px;
	background: #666;
	border-radius: 50%;
	animation: bounce 1.3s ease infinite;
}

.typing-indicator span:nth-child(2) {
	animation-delay: 0.15s;
}

.typing-indicator span:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes bounce {
	0%,
	100% {
		transform: translateY(0);
	}
	30% {
		transform: translateY(-5px);
	}
}
