/* Global */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Background gradient */
.bg-gradient-custom {
  background-image: repeating-radial-gradient(circle at 50% 50%, #0f172a, #1e293b, #10efff, #1e293b, #0f172a);
  background-attachment: fixed;
}

/* Chat container */
.chat-card {
  max-width: 700px;
  border-radius: 1rem;
}

/* Robot image */
.robot-img {
  max-width: 140px;
}

/* Chat box */
#chat-box {
  height: 350px;
  overflow-y: auto;
  border-radius: 0.75rem;
  padding: 12px;
  background: rgba(15, 23, 42, 0.85); /* dark glass effect */
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Optional: nicer scrollbar (WebKit browsers) */
.small-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.small-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.small-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.7);
  border-radius: 4px;
}

/* Input & button (Bootstrap handles responsiveness) */
#user-input {
  border-radius: 0.5rem 0 0 0.5rem;
}
#send-btn {
  border-radius: 0 0.5rem 0.5rem 0;
}

/* Footer */
.custom-footer {
  background: rgba(0, 0, 0, 0.75);
  color: #f8f9fa;
}

.custom-footer h3 {
  margin: 0 0 8px 0;
}

.custom-footer ul li a {
  text-decoration: none;
  color: #0d6efd;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.custom-footer ul li a:hover {
  color: #66b2ff;
  transform: translateY(-1px);
}

/* Extra responsiveness tweaks */
@media (max-width: 576px) {
  #chat-box {
    height: 300px;
  }

  .robot-img {
    max-width: 110px;
  }
}
