
#asc-chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4F46E5;
  color: white;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
}
#asc-chat-button:hover {
  transform: scale(1.05);
}

#asc-chat-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 380px;
  max-height: 600px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

#asc-chat-header {
  background: #4F46E5;
  color: white;
  padding: 20px;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

#asc-chat-header::before {
  content: "💬";
  font-size: 18px;
}

#asc-close-chat {
  display: none;
}

#asc-chat-messages {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px;
  background-color: #f8f9fb;
  display: flex;
  flex-direction: column;
}

#asc-chat-messages .user {
  align-self: flex-end;
  background: #E0E7FF;
  padding: 12px 16px;
  border-radius: 18px 18px 4px 18px;
  margin-bottom: 10px;
  max-width: 85%;
}

#asc-chat-messages .bot {
  align-self: flex-start;
  background: #f0f2f5;
  padding: 12px 16px;
  border-radius: 18px 18px 18px 4px;
  margin-bottom: 10px;
  max-width: 85%;
}

#asc-chat-footer {
  padding: 14px;
  border-top: 1px solid #ddd;
  background: #fff;
}

#asc-user-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
}


.asc-input-wrapper {
  display: flex;
  align-items: center;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 40px;
  padding: 8px 14px;
  margin: 12px;
}

.asc-input-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  padding: 8px;
  outline: none;
}

.asc-emoji-icon {
  font-size: 20px;
  margin-right: 10px;
  cursor: pointer;
}

.asc-send-icon {
  font-size: 20px;
  color: #6c5ce7;
  margin-left: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.asc-send-icon:hover {
  transform: scale(1.2);
}
