#izi-chat {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 320px;
  max-height: 80vh;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-family: sans-serif;
  z-index: 9999;
  overflow: hidden;
}

#izi-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #003366;
  color: white;
  padding: 8px 12px;
  font-weight: bold;
  position: relative;
}

#izi-chat-title {
  flex: 1;
  text-align: center;
  font-size: 14px;
}

#izi-chat-close {
  cursor: pointer;
  font-size: 18px;
  font-weight: normal;
  margin-left: auto;
}

#izi-chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#izi-chat-log {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
  background: #f8f8f8;
  min-height: 100px;
}

#izi-chat-input-area {
  display: flex;
  padding: 8px;
  gap: 4px;
  background: #fff;
  border-top: 1px solid #ccc;
}

#izi-chat-input {
  flex: 1;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

#izi-chat-btn {
  background: #003366;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

#izi-chat-footer {
  text-align: center;
  font-size: 11px;
  color: #888;
  padding: 6px;
  background: #f9f9f9;
  border-top: 1px solid #eee;
}

#izi-whatsapp-link {
  text-decoration: none;
  color: #25d366;
  font-weight: bold;
}
#izi-whatsapp-link:hover {
  text-decoration: underline;
}

#izi-chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #003366;
  color: white;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  line-height: 60px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 9998;

}
#izi-chat-toggle svg{
  transition: all .4s;
	-moz-transition: all .4s;
	-webkit-transition: all .4s;
	-o-transition: all .4s;
}
#izi-chat-toggle svg:hover{
transform: scale(1.2);
}
#izi-chat-label {
  position: absolute;
  right: 70px;
  bottom: 10px;
  background: transparent;
  color: #212121;
  font-size: 14px;
  padding: 6px 10px;
  /*border-radius: 12px;*/
  /*box-shadow: 0 2px 6px rgba(0,0,0,0.1); */
  white-space: nowrap;
}

#izi-chat-log .user {
  background: #e1f5fe;
  color: #000;
  padding: 6px 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  align-self: flex-end;
  max-width: 90%;
  margin-left: auto;
}

#izi-chat-log .bot {
  background: #f1f1f1;
  color: #000;
  padding: 6px 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  align-self: flex-start;
  max-width: 90%;
}



.typing {
  display: inline-block;
  margin: 10px 0 5px 10px;
  padding: 6px 12px;
  background: #eee;
  border-radius: 16px;
  font-size: 0.8rem;
  color: #444;
  font-style: italic;
  max-width: 60%;
}

.typing::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-left: 4px;
  background-color: #999;
  box-shadow: 8px 0 0 #999, 16px 0 0 #999;
  animation: blinkDots 1.2s infinite ease-in-out;
}

@keyframes blinkDots {
  0% { opacity: 0.2; }
  20% { opacity: 1; }
  100% { opacity: 0.2; }
}

.typing-bubble {
  display: flex;
  gap: 4px;
  justify-content: flex-start;
  padding: 10px;
  margin-left: 10px;
}

.typing-bubble span {
  width: 8px;
  height: 8px;
  background-color: #ccc;
  border-radius: 50%;
  animation: typingBlink 1.4s infinite;
}

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

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

@keyframes typingBlink {
  0% { opacity: 0.3; }
  20% { opacity: 1; }
  100% { opacity: 0.3; }
}
