body {

  margin: 0;

  font-family: Arial, sans-serif;

  background: radial-gradient(circle at top, rgba(76, 140, 255, 0.16), transparent 20%), #04070f;

  color: #eef4ff;

  min-height: 100vh;

}



.page-header {

  padding: 18px 24px;

  text-align: center;

}



.ai-nav {

  display: inline-flex;
 font-family: "Poppins";
  flex-wrap: wrap;

  gap: 18px;

  justify-content: center;

  align-items: center;

}



.ai-nav a {

  color: #eef4ff;

  text-decoration: none;

  font-weight: 600;

  transition: color 0.2s ease;

}



.ai-nav a:hover {

  color: #67c6ff;

}



.page-main {

  display: flex;

  justify-content: center;

  padding: 24px;

}



.chat-container {

  display: flex;

  flex-direction: column;

  gap: 18px;

  width: min(960px, 100%);

  min-height: calc(100vh - 136px);

  padding: 24px;

  background: rgba(12, 21, 36, 0.92);

  border-radius: 24px;

  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);

}



#chat-box {

  flex: 1;

  min-height: 320px;

  max-height: 66vh;

  padding: 20px;

  overflow-y: auto;

  border-radius: 20px;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.08);

}



.message {

  margin: 12px 0;

  padding: 14px 18px;

  border-radius: 18px;

  max-width: 74%;

  line-height: 1.5;

  word-break: break-word;

}



.user {

  margin-left: auto;
  max-width: fit-content;

  background: linear-gradient(135deg, #4c8cff, #67c6ff);

  color: white;

}



.bot {

  background: rgba(255, 255, 255, 0.08);

  color: #eef4ff;

}



.input-box {

  display: flex;

  gap: 12px;

  align-items: center;

}



input {

  flex: 1;

  min-width: 0;

  padding: 14px 16px;

  border-radius: 14px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  background: #081523;

  color: #eef4ff;

  font-size: 0.98rem;

}



.input-box input:focus {

  outline: none;

  border-color: #4c8cff;

  box-shadow: 0 0 0 4px rgba(76, 140, 255, 0.12);

}



button {

  min-width: 110px;

  padding: 14px 18px;

  border-radius: 14px;

  border: none;

  background: #4c8cff;

  color: white;

  font-weight: 700;

  cursor: pointer;

  transition: transform 0.2s ease, background 0.2s ease;

}



button:hover {

  transform: translateY(-1px);

  background: #67c6ff;

}