

/*LIVECHAT*/
.chat-button-open {
	bottom: 1rem;
	right: 1em;
	position: fixed;
	z-index:9;
	display:flex;
	gap: 0.5rem;
	align-content: center;
	align-items: center;
}
.chat-button-open .text {
	background: #f9f7f9;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 1rem;
	box-shadow: 0px 2px 6px #8d8d8d57;
}
.icon-chat {
	 width: 40px;
	 height: 40px;
	 background: #ccc;
	 border-radius: 50px;
	border: 2px solid #76d375;
 animation: 1s pulse alternate infinite;
}
@keyframes pulse {
	0% {
		box-shadow: 0 0 10px #fff;
	}
	100% {
		box-shadow: 0 0 10px #adadac;
	}
}
.chat-widget {
  width: 300px;
  background: #efeae2;
  border-radius: 10px;
  overflow: hidden;
  position:fixed;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 99;
	visibility: hidden;
}

.chat-header {
  background: #d6ba74;
  color: #fff;
  padding: 7px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header .operator-name {
	display:flex;
	align-items: center;
	gap: 0.5rem;
	font-family: 'Armin Grotesk Bold';
	font-size: 1rem;
	color: #003247;
}
.chat-header img {
	width: 38px;
	height: 38px;
	background: #003247;
	padding: 5px;
	border-radius: 50px;
}



.chat-header-actions .chat-header-action-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  padding: 0;
}

.chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 10px;
}

.message {
  padding: 5px 10px;
  margin: 5px 0;
  border-radius: 10px;
  color: #fff;
  display: flex;
  gap: 0.5rem;
  max-width: 100%;
  overflow: hidden;
  align-items: flex-start;
}
.message.customer {
	justify-content: flex-end;
}
.message .response {
	font-size: 0.9rem;
	background: #f9f7f9;
	color: #000000;
	padding: 7px 10px;
	border-radius: 10px;
	max-width: 100%;
}
.message img {
	width:30px;
	height: 30px;
	background: #003247;
	padding: 5px;
	border-radius: 50px;
}

.received {
  background: #444;
}

.sent {
  background: #0d6efd;
  align-self: flex-end;
}

.typing-indicator {
  display: flex;
  justify-content: center;
}

.typing-indicator span {
  display: inline-block;
  background: #999;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  margin: 0 2px;
  /* Animation code will go here */
}

.chat-footer {
  background: #f0f2f5;
  display: flex;
  padding: 10px;
  gap: 0.5rem;
}

.chat-input {
  flex-grow: 1;
  padding: 5px;
  border: none;
  border-radius: 5px;
  font-size: 15px !important;
	outline: 0;
  padding: 8px 10px 10px;
}
.chat-input::placeholder{
	font-size: 15px;
	color: #00000070;
}
.send-button {
  padding: 0;
  margin-left: 5px;
  border-radius: 5px;
  background: none;
	outline:0; 
	border: 0;
}

.reset-button {
  background: #444;
  color: #fff;
  border: none;
  padding: 5px;
  width: 100%;
  border-top: 1px solid #555;
}

/* Scrollbar styles */
.chat-messages::-webkit-scrollbar {
  width: 5px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #333;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #555;
}

/* Add any additional styles for buttons or messages */



@media (max-width: 767px) {
	.chat-widget {
		width: calc(100% - 1rem);
	}
	.chat-button-open .text { 
		font-size: 1.3rem;
	}
	.message .response{
		font-size: 1.3rem;
	}
}