/* assets/chat.css */

/* Container toggle button */
#chatWidget button {
  background-color: #00243E;
  color: #fff;
  border: none;
  border-radius: 9999px;
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  cursor: pointer;
}

/* Chat box panel */
#chatBoxContainer {
  width: 20rem;
  height: 24rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Message log area */
#chatLog {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* User message bubble */
.msg.user {
  background-color: #00d2ff;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  align-self: flex-end;
  max-width: 80%;
  word-wrap: break-word;
}

/* Bot message bubble */
.msg.bot {
  background-color: #f1f1f1;
  color: #333;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  align-self: flex-start;
  max-width: 80%;
  word-wrap: break-word;
  border: 1px solid #e2e8f0;
}

/* Textarea input */
#chatBox {
  border: none;
  border-top: 1px solid #e2e8f0;
  padding: 0.5rem;
  resize: none;
  outline: none;
  font-size: 0.875rem;
}

/* Send button */
#chatSend {
  background-color: #00d2ff;
  color: #fff;
  border: none;
  padding: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s;
}
#chatSend:hover {
  background-color: #3a7bd5;
}
