#bs-chat-btn {
  position: fixed; bottom: 24px; right: 24px;
  width: 54px; height: 54px; border-radius: 50%;
  background: #1B4F8A; color: #fff; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.3);
  z-index: 9999; transition: transform .2s;
}
#bs-chat-btn:hover { transform: scale(1.08); }

#bs-chat-window {
  position: fixed; bottom: 90px; right: 24px;
  width: 340px; max-height: 480px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  display: none; flex-direction: column;
  z-index: 9999; font-family: sans-serif; font-size: 14px;
}
#bs-chat-window.open { display: flex; }

#bs-chat-header {
  background: #1B4F8A; color: #fff;
  padding: 12px 16px; border-radius: 12px 12px 0 0;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: bold;
}
#bs-chat-header button {
  background: none; border: none; color: #fff;
  font-size: 18px; cursor: pointer;
}

#bs-chat-messages {
  flex: 1; overflow-y: auto; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}

.bs-msg { max-width: 82%; padding: 8px 12px; border-radius: 10px; line-height: 1.4; }
.bs-bot { background: #eef3fa; color: #1a1a1a; align-self: flex-start; }
.bs-user { background: #1B4F8A; color: #fff; align-self: flex-end; }
.bs-typing { color: #888; font-style: italic; font-size: 13px; }

#bs-chat-input {
  display: flex; border-top: 1px solid #e0e0e0; padding: 8px;
}
#bs-chat-text {
  flex: 1; border: 1px solid #ccc; border-radius: 6px;
  padding: 7px 10px; font-size: 14px; outline: none;
}
#bs-chat-input button {
  background: #1B4F8A; color: #fff; border: none;
  border-radius: 6px; padding: 7px 12px; margin-left: 6px;
  cursor: pointer; font-size: 16px;
}
