.chat-fab.right {
  right: 20px;
  bottom: 20px;
  left: auto;
  position: fixed;
  background-color: #00bfa5;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: 0.3s ease;
}
.chat-fab img {
  filter: brightness(1000%);
}
.chat-badge {
  background: #f24d7d;
  color: white;
  font-size: 12px;
  position: absolute;
  top: -6px;
  right: -6px;
  border-radius: 50%;
  padding: 2px 6px;
  font-weight: bold;
}

.chat-popup.modern {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  background: #fff;
  border-radius: 16px;
  display: none;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  overflow: hidden;
  z-index: 999;
}
.chat-popup.open {
  display: flex;
}
.chat-header {
  /*background: #0d0d0d;*/
  background:  linear-gradient(217deg, #00A9BE 0%, #39CD80 100%);
  color: #fff;
  padding: 12px;
  font-weight: 600;
  position: relative;
}
.chat-title {
  font-size: 16px;
}
.chat-close {
  position: absolute;
  right: 14px;
  top: 10px;
  cursor: pointer;
  font-size: 18px;
}
.chat-body {
  padding: 10px;
  overflow-y: auto;
  flex: 1;
  background: #fafafa;
}
.bot-message {
  background: #e4e4e4;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 10px;
}
.chat-form {
  display: flex;
  border-top: 1px solid #ccc;
}
.chat-form input {
  flex: 1;
  padding: 12px;
  border: none;
  font-size: 14px;
  border-radius: 0;
}
.chat-form button {
  background: #00bfa5;
  color: white;
  border: none;
  font-size: 18px;
  padding: 12px 16px;
  cursor: pointer;
}
.chat-line {
  margin-bottom: 10px;
}
.user-message .msg {
  background: #e0f7fa;
  border-radius: 10px;
  padding: 10px;
  max-width: 80%;
}
.admin-message .msg {
  background: #c8e6c9;
  border-radius: 10px;
  padding: 10px;
  max-width: 80%;
  margin-left: auto;
  text-align: right;
}
.time {
  font-size: 10px;
  color: #777;
  margin-top: 2px;
}
.message {
  display: flex;
  flex-direction: column;
  margin: 10px;
}

.message.left {
  align-items: flex-start;
}

.message.right {
  align-items: flex-end;
}

.bubble {
  padding: 10px 15px;
  border-radius: 12px;
  max-width: 70%;
  font-size: 14px;
  word-wrap: break-word;
}

.admin-bubble {
  background-color: #d3f8d3; /* light green */
  color: #333;
}

.user-bubble {
  background-color: #d2f1ff; /* light blue */
  color: #333;
}

.time {
  font-size: 11px;
  color: gray;
  margin-top: 4px;
}





