.chat-container {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 999;
}


.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff3368, #ff5e62);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 51, 104, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite
}

.chat-button:hover {
  transform: scale(1.1);
}

.chat-window {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 350px;
  height: 450px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: none;
  flex-direction: column;
  transition: all 0.3s ease;
}

.chat-header {
  background: linear-gradient(45deg, #ff3368, #ff5e62);
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.close-chat {
  cursor: pointer;
  font-size: 24px;
}

.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.message {
  margin-bottom: 15px;
  padding: 12px 15px;
  border-radius: 15px;
  max-width: 80%;
  line-height: 1.5;
}

.message.received {
  background: #f1f1f1;
  color: #333;
  border-top-left-radius: 0;
}

.message.sent {
  background: linear-gradient(45deg, #ff3368, #ff5e62);
  color: #fff;
  margin-left: auto;
  border-top-right-radius: 0;
}

.chat-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid #eee;
}

.chat-input input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 25px;
  padding: 10px 15px;
  outline: none;
}

.send-button {
  margin-left: 10px;
  background: linear-gradient(45deg, #ff3368, #ff5e62);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  cursor: pointer;
}

.typing-indicator {
  display: flex;
  padding: 10px 15px;
  background: white;
  border-radius: 18px;
  margin-bottom: 15px;
  width: fit-content;
}

.chat-window {
  width: 395px;
  right: -10px;
}

.typing-indicator span {
  height: 8px;
  width: 8px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
  margin: 0 2px;
  animation: typing 1s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

@keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(255, 51, 104, 0.4);
      }
      70% {
        box-shadow: 0 0 0 20px rgba(255, 51, 104, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(255, 51, 104, 0);
      }
    }