* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
font-family: 'Nunito', sans-serif;
/* font-family: 'Roboto', sans-serif; */
  background: url("assets/bg_travel.png") no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bg-overlay {
  width: 100%;
  height: 100vh;
  background-color: rgb(225, 245, 254, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Chat Wrapper */
.chat-wrapper {
  width: 60%;
  max-width: 900px;
  height: 95%;
  background-color: white;
  border-radius: 15px;
  border: 1px solid #ccc;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.chat-header {
  background-color: #0288d1;
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chat-header h2 {
  font-size: 1rem; /* Or adjust to 1rem or 1.1rem if you want it smaller */
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Chat area */
.chat-container {
  flex-grow: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.loader.bot {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #f1f1f1;
  color: #555;
  font-style: italic;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 75%;
  align-self: flex-start;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.loader.bot::before {
  content: "\f110"; /* Font Awesome spinner icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  animation: spin 1s linear infinite;
}

/* Input area */
.input-area {
  display: flex;
  padding: 1rem;
  background-color: #fafafa;
  border-top: 1px solid #ddd;
}

.input-area input {
  flex-grow: 1;
  padding: 12px 20px;
  border: 1px solid #ccc;
  border-radius: 25px;
  outline: none;
  font-size: 1rem;
  transition: border 0.2s;
}

.input-area input:focus {
  border-color: #0288d1;
}

.input-area button {
  background-color: #0288d1;
  color: white;
  border: none;
  padding: 12px 20px;
  margin-left: 12px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.input-area button:hover {
  background-color: #0277bd;
}

/* Improved message styles */
.message {
  max-width: 90%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 16px;
  line-height: 1.5;
  word-wrap: break-word;
}

.message.user {
  font-size: 16px;
  align-self: flex-end;
  background-color: #c8e6f9;
  color: #333;
  border-bottom-right-radius: 4px;
}

.message.bot {
  font-size: 16px !important;
  align-self: flex-start;
  background-color: #f1f1f1;
  color: #444;
  border-bottom-left-radius: 4px;
  padding: 15px;
}

.message.bot h2 {
  background-color: #0288d1;
  color: #fff;
  padding: 10px 16px;
  font-size: 1rem;
  border-radius: 4px;
  margin-bottom: 16px;
}

.message.bot h3 {
  color: #1565c0;
  margin: 16px 0 8px;
}

.message.bot p {
  margin: 0 0 12px;
}

.message.bot ul {
  padding-left: 20px;
  margin: 0 0 20px;
}

.message.bot li {
  list-style: none;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.message.bot li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #0288d1;
  font-size: 0.7rem;
  padding-top: 3px;
}

.message.bot li b {
  color: #000;
}














/* Table base styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: 'Segoe UI', sans-serif;
  /* font-size: 0.95rem; */
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

/* Header cells */
th {
  background-color: #0288d1;
  color: white;
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
}

/* Body cells */
td {
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
}

/* Zebra striping for rows */
tr:nth-child(even) td {
  background-color: #f9f9f9;
}

/* Hover effect */
tr:hover td {
  background-color: #e0f7fa;
}

/* Optional: center numeric columns */
td:nth-last-child(1), td:nth-last-child(2), td:nth-last-child(3) {
  text-align: center;
}
