body {
  font-family: 'Inter', sans-serif;
  background: #fdf6e3; /* light neutral background */
  height: 100vh;
  margin: 0;
  color: #222;
}

.chat-container {
  background: #ffffff; /* solid white for chat box */
  border-radius: 25px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  height: 85vh;
  max-width: 600px;
  margin: 20px auto;
  overflow: hidden;
  border: 2px solid #ddd;
  width: 90%; /* scale for smaller screens */
}

.chat-header {
  background: #1e3a8a; /* solid blue */
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 18px;
  font-size: 20px;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.messages-container {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #fdf6e3;
}

.message {
  margin-bottom: 14px;
  word-wrap: break-word;
}

.bot-message .bubble {
  background: #05333d; /* solid blue */
  color: #fff;
  padding: 12px 18px;
  border-radius: 20px;
  display: inline-block;
  max-width: 80%;
  box-shadow: 0 6px 18px rgba(30,58,138,0.3);
}

.user-message {
  text-align: right;
}

.user-message .bubble {
  background: #ffb347; /* solid orange */
  color: #222; /* dark text for contrast */
  padding: 12px 18px;
  border-radius: 20px;
  display: inline-block;
  max-width: 80%;
  box-shadow: 0 6px 18px rgba(255,179,71,0.4);
}

.chat-input {
  border-top: 1px solid #ddd;
  padding: 12px;
  display: flex;
  background: #fdf6e3;
}

.chat-input input {
  flex: 1;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  font-size: 16px;
  outline: none;
}

.chat-input button {
  margin-left: 10px;
  background: #9ba1b2; /* solid blue button */
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 0 20px;
  border-radius: 12px;
  cursor: pointer;
}

a {
  color: #acb7d5;
  text-decoration: underline;
}

a:hover {
  color: #ffb347; /* solid orange on hover */
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
  .chat-container {
    height: 90vh;
    max-width: 95%;
    border-radius: 15px;
  }

  .chat-header {
    font-size: 18px;
    padding: 14px;
  }

  .chat-input input {
    font-size: 14px;
    padding: 8px 12px;
  }

  .chat-input button {
    font-size: 14px;
    padding: 0 16px;
  }

  .bot-message .bubble,
  .user-message .bubble {
    max-width: 90%;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .chat-container {
    height: 95vh;
    border-radius: 10px;
  }

  .chat-header {
    font-size: 16px;
    padding: 12px;
  }

  .chat-input input {
    font-size: 13px;
    padding: 6px 10px;
  }

  .chat-input button {
    font-size: 13px;
    padding: 0 12px;
  }

  .bot-message .bubble,
  .user-message .bubble {
    max-width: 100%;
    padding: 8px 12px;
  }
}
