#wishChatToggle {
  position: fixed;
  bottom: 120px;
  right: 10px;
  border: none;
  width: 60px;
  height: 60px;
  font-size: 26px;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s ease;
  background: none;
}

#wishChatToggle img {
  width: 100%;
  height: auto;
}

#wishChatToggle:hover {
  transform: scale(1.1);
}

#wishChatBox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: calc(var(--vh, 1vh) * 100);
  background: #1f1f1f;
  color: #fff;
  font-family: sans-serif;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

#wishChatBox.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.wishChatHeader {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #333;
}

.wishChatTitle {
  flex: 1;
  font-weight: bold;
}

.wishChatClose {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  transition: color 0.3s;
}

.wishChatClose:hover {
  color: #00c2cb;
}

.wishChatMessages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wishChatMessageBot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wishChatUserMessage {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 556px;
  justify-content: flex-end;
  margin: 0 0 0 auto;
}

.wishChatBotMessage {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

img.wishChatUserIcon {
  width: 38px;
  height: auto;
  border-radius: 50px;
}

.wishChatBotIcon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.wishChatBotText {
  background: #3a3a3a;
  padding: 10px 14px;
  border-radius: 12px;
  color: #ffffff;
  line-height: 1.6;
  font-size: 14px;
}

.wishChatUserText {
  align-self: flex-end;
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  width: 90%;
  line-height: 1.6;
  white-space: pre-wrap;
  font-size: 14px;
  background: #ffffff;
  color: black;
}

.wishChatInputArea {
  display: flex;
  border-top: 1px solid #444;
  padding: 10px;
  display: none;
  background: #1f1f1f;
}

#wishChatInput {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
  background: #2a2a2a;
  color: #fff;
  resize: none;
  font-family: inherit;
  font-size: 16px;
  /* 14px → 16px */
  line-height: 1.6;
  border-radius: 6px;
  max-height: 120px;
  overflow-y: auto;
}

.wishChatInputArea button {
  background: #1cb4a7;
  border: none;
  padding: 0 16px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
  margin-left: 8px;
  border-radius: 6px;
  height: 40px;
  align-self: flex-end;
  flex-shrink: 0;
}

.wishChatInputArea button:hover {
  background: #00a5ad;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#wishChatPopup {
  display: none !important;
  position: fixed;
  bottom: 57px;
  right: 8px;
  width: 25px;
  height: 25px;
  background: red;
  color: white;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  cursor: pointer;
}

#wishChatPopup.show {
  display: flex !important;
}

.wishChatBotText a,
.wishChatUserText a {
  color: #c3d3ff;
}

.chat_onlin {
  font-size: 14px;
}

.chat_line_de {
  font-size: 12px;
  color: white;
  line-height: 35px;
}

.chat_line_de a {
  color: #00a5ad;
  font-size: 14px;
}

#wishQuickReplies {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  /* Firefox */
}

#wishQuickReplies::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

#wishQuickReplies button {
  background: #444;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

#wishQuickReplies button:hover {
  background: #5c5c5c;
}