/* === Reset === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Segoe UI", sans-serif;
  background: #121212;
  color: #eee;
  padding: 20px;
}

/* === Header === */
header {
  text-align: center;
  margin-bottom: 20px;
}
header img {
  max-width: 150px;
  height: auto;
}

/* === Main Layout === */
main {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
h1 {
  font-size: 2em;
  margin-bottom: 10px;
}
p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

/* === Embedded Chat Widget === */
#chat-widget {
  background: #1e1e1e;
  border: 2px solid #444;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  padding: 10px;
  display: flex;
  flex-direction: column;
  height: 500px;
  overflow: hidden;
}

#chat-header {
  background: #292929;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  text-align: center;
  border-radius: 8px 8px 0 0;
}

#chat-box {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  font-size: 0.95em;
}
.bot-message, .user-message {
  background: #2e2e2e;
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  max-width: 90%;
  word-wrap: break-word;
}
.bot-message {
  background-color: #3d3d7a;
  color: #fff;
  align-self: flex-start;
}
.user-message {
  background-color: #575757;
  color: #fff;
  align-self: flex-end;
}

#chatbot-input-area {
  display: flex;
  margin-top: 10px;
}
#user-input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 0 0 0 8px;
  font-size: 1em;
  background: #2a2a2a;
  color: #fff;
}
#chatbot-send {
  padding: 10px 16px;
  border: none;
  background: #5c5cff;
  color: white;
  cursor: pointer;
  border-radius: 0 0 8px 0;
  font-weight: bold;
}
#chatbot-send:hover {
  background: #4848ff;
}

/* === Footer === */
footer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
  color: #888;
}
