body {
  font-family: 'Noto Sans Devanagari', 'Mukta', Arial, sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #eaf0fa 0%, #fff9ef 100%);
  min-height: 100vh;
}

/* Header logos */
.gov-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}
.seal-logo, .small-logo {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(22, 120, 242, 0.09);
  padding: 5px;
}
.seal-logo { width: 74px; }
.small-logo { width: 49px; }

/* Banner below logos */
.banner {
  display: flex;
  justify-content: center;
  margin-bottom: 1.3rem;
}
.big-banner {
  width: 85vw;
  max-width: 900px;
  border-radius: 13px;
  box-shadow: 0 2px 8px #abd7fb33;
  border: 1px solid #eef1f1;
}

/* Accent divider */
.divider, .accent-divider {
  width: 85vw;
  max-width: 650px;
  height: 4px;
  background: linear-gradient(90deg, #155fa0, #11bec9 55%);
  margin: 0 auto 2.9rem auto;
  border-radius: 7px;
  opacity: 0.20;
}

/* Card container */
.container, .chat-container {
  max-width: 650px;
  margin: 3.2rem auto 2rem auto;
  background: #fff;
  padding: 2.3rem 2rem 2rem 2rem;
  border-radius: 18px;
  box-shadow: 0 11px 55px #1871a323;
  border: 1.3px solid #f2f2fb;
}

/* Main heading */
h1, .main-heading {
  text-align: center;
  color: #155fa0;
  font-size: 2.31rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 14px #eaf0fa66;
  margin-bottom: 2.2rem;
}

/* Chat window and bubbles */
#chat-window {
  margin: 1.4rem 0 0.7rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100px;
}

.chat-bubble {
  max-width: 89%;
  padding: 1rem 1.3rem;
  font-size: 1.11rem;
  word-break: break-word;
  border-radius: 18px 18px 18px 7px;
  box-shadow: 0 2px 12px #c9daeb22;
  margin-bottom: 0;
  transition: background 0.23s;
  animation: fadeIn 0.41s;
  line-height: 1.72;
}

.chat-bubble.user {
  background: #eaf4ff;
  color: #1a1a37;
  align-self: flex-end;
  border-radius: 18px 18px 7px 18px;
  border: 1.2px solid #d2e3fc;
}

.chat-bubble.bot {
  background: #e3fced;
  color: #13384a;
  align-self: flex-start;
  border-radius: 18px 18px 18px 7px;
  border: 1.2px solid #baced7;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(18px);}
  to   { opacity: 1; transform: translateY(0);}
}

#chat-window .chat-bubble strong {
  color: #108ad7;
  font-weight: 700;
}

/* Form controls */
textarea {
  width: 100%;
  font-size: 1.15rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 7px;
  border: 1.5px solid #d7e4f6;
  background: #f5f7fc;
  resize: vertical;
  min-height: 90px;
  transition: border-color 0.2s;
}
textarea:focus {
  outline: none;
  border-color: #155fa0;
}

button {
  background: linear-gradient(90deg, #1678f2 0%, #15a5e0 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px #1678f210;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  border-radius: 15px;
  cursor: pointer;
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
}
button:disabled {
  background: #b5dafb;
  cursor: not-allowed;
  box-shadow: none;
}
button:hover:enabled {
  background: #1e40b6;
  letter-spacing: 0.7px;
  transform: scale(1.05);
}

/* Section label */
h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.4rem;
  color: #155fa0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Output box for legacy (can be hidden if not used) */
pre {
  background: #f8fafc;
  border-radius: 7px;
  padding: 1.2rem;
  min-height: 60px;
  font-size: 1.07rem;
  margin-top: 0.4rem;
  color: #2a3e4c;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1.3px solid #eef1f4;
  font-family: 'Noto Sans Devanagari', 'Mukta', Arial, sans-serif;
}

/* Footer */
.footer-note, .footer-bar {
  text-align: center;
  margin: 2rem 0 1rem 0;
  color: #878686;
  font-size: 1rem;
  letter-spacing: 0.25px;
  padding-bottom: 0.3rem;
}

/* Responsive tweaks */
@media (max-width: 650px) {
  .banner, .divider, .accent-divider { width: 97vw; max-width: 99vw; }
  .big-banner { width: 100%; }
  .gov-header { gap: 0.5rem; }
  .seal-logo, .small-logo { width: 38px; height: 38px; }
  .container, .chat-container { padding: 0.5rem; }
  h1, .main-heading { font-size: 1.3rem; }
  .chat-bubble { max-width: 98%; font-size: 1rem; padding: 0.82rem 0.89rem;}
}
