#icb-chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  border: none;
  border-radius: 999px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  background-color: #d4a94f;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

#icb-chat-panel {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 340px;
  max-width: calc(100vw - 40px);
  height: 460px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  display: none;
  overflow: hidden;
  flex-direction: column;
  font-family: inherit;
}

#icb-chat-header {
  padding: 14px 16px;
  font-weight: 600;
  background: #16233d;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#icb-chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

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

.icb-chat-msg {
  padding: 10px 12px;
  border-radius: 12px;
  max-width: 85%;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  color: #16233d;
}

.icb-chat-user {
  align-self: flex-end;
  background: #eef2f8;
}

.icb-chat-bot {
  align-self: flex-start;
  background: #f5f0e3;
  white-space: pre-line;
}

#icb-chat-form {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 8px;
  padding: 10px;
}

#icb-chat-input {
  flex: 1;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
}

#icb-chat-send {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  background: #16233d;
  color: #fff;
}
