/* Container */
#ithcc-chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Floating bubble button */
#ithcc-chat-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #16a085;
  color: white;
  border: none;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#ithcc-chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* Chat window */
#ithcc-chat-window {
  width: 340px;
  height: 460px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

/* Chat header */
.ithcc-chat-header {
  background: #1b2a4a;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ithcc-chat-title {
  font-size: 13px;
}

.ithcc-chat-title strong {
  font-size: 15px;
}

#ithcc-chat-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* Chat messages */
#ithcc-chat-messages {
  padding: 14px;
  flex: 1;
  overflow-y: auto;
  background: #f5f7fb;
}

.ithcc-msg {
  margin-bottom: 10px;
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.4em;
  font-size: 14px;
}

.ithcc-msg-bot {
  background: #ffffff;
  border: 1px solid #d9deea;
  color: #222;
}

.ithcc-msg-user {
  background: #16a085;
  color: #fff;
  margin-left: auto;
}

/* Input area */
#ithcc-chat-form {
  display: flex;
  border-top: 1px solid #d9dde8;
}

#ithcc-chat-input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 14px;
  outline: none;
}

#ithcc-chat-form button {
  background: #16a085;
  color: #fff;
  border: none;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 600;
}

#ithcc-chat-form button:hover {
  opacity: 0.9;
}
