/* Reset & Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: white;
  color: #ffffff;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Chat Container */
.chat-container {
  width: 100%;
  max-width: 500px;
  height: 90vh;
  background: #222236;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.chat-header {
  background: #181828;
  padding: 15px 20px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid #333;
}
.chat-header span {
  color: #00ffcc;
  font-weight: 400;
  display: block;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Chat Box */
.chat-box {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #1a1a2e;
}

/* Messages (Add your logic in JS to style these) */
.user-message {
  align-self: flex-end;
  background-color: #00b894;
  color: white;
  padding: 10px 15px;
  border-radius: 20px 20px 0 20px;
  max-width: 80%;
}
.bot-message {
  align-self: flex-start;
  background-color: #636e72;
  color: white;
  padding: 10px 15px;
  border-radius: 20px 20px 20px 0;
  max-width: 80%;
}

/* Form */
.chat-form {
  display: flex;
  padding: 15px;
  background: #181828;
  border-top: 1px solid #333;
}
.chat-form input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 25px;
  border: none;
  outline: none;
  background-color: #2d2d44;
  color: #fff;
  font-size: 1rem;
}
.chat-form button {
  margin-left: 10px;
  padding: 0 20px;
  background-color: #00cec9;
  border: none;
  border-radius: 25px;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.chat-form button:hover {
  background-color: #00b894;
}
