/* ====== Syka AI Chat Styles ====== */
body {
  background: #f4f6f8;
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.chat-container {
  width: 400px;
  max-width: 90%;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

header {
  background: #0084ff;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 18px;
  font-weight: 600;
}

.chat-log {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Chat bubbles */
.message {
  margin: 10px 0;
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 75%;
  word-wrap: break-word;
  line-height: 1.4;
}

.user {
  background: #0084ff;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.bot {
  background: #eaeaea;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.chat-input-area {
  display: flex;
  border-top: 1px solid #ddd;
}

#user-input {
  flex: 1;
  border: none;
  padding: 15px;
  font-size: 16px;
  outline: none;
}

#send-btn {
  background: #0084ff;
  color: white;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

#send-btn:hover {
  background: #006edc;
}

/* Scrollbar styling */
.chat-log::-webkit-scrollbar {
  width: 6px;
}

.chat-log::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
