@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #f5f6fa;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== Header / Navbar ===== */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.logo h1 {
  color: #b50000;
  font-size: 20px;
}

/* ===== Chat Container ===== */
.container {
  max-width: 600px;
  margin: 40px auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top:100px;
}

.container h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #b50000;
}

.chat-box {
  height: 400px;
  overflow-y: auto;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background-color: #fafafa;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ===== Bubble Chat ===== */
.message {
  padding: 10px 15px;
  border-radius: 20px;
  max-width: 80%;
  word-wrap: break-word;
  font-size: 14px;
}

.message.user {
  background-color: #b50000;
  color: #fff;
  align-self: flex-end;
}

.message.bot {
  background-color: #eaeaea;
  color: #333;
  align-self: flex-start;
}

/* ===== Form Input ===== */
form {
  display: flex;
  gap: 10px;
}

input[type="text"] {
  flex: 1;
  padding: 12px;
  border-radius: 30px;
  border: 1px solid #ccc;
  font-size: 16px;
  outline: none;
}

button {
  padding: 12px 25px;
  border: none;
  background-color: #b50000;
  color: white;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #8a0000;
}

/* ===== Footer ===== */
footer {
  background: #fff;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #555;
  box-shadow: 0 -1px 8px rgba(0,0,0,0.05);
  margin-top: auto;
}
