body {
  margin: 0;
  font-family: 'Courier New', monospace;
  background: #0d0d0d;
  color: #f0f0f0;
  background-image: radial-gradient(circle, #202020 1px, transparent 1px);
  background-size: 40px 40px;
}

.header {
  text-align: center;
  padding: 1rem;
  background: linear-gradient(to right, #4b0082, #8a2be2);
  color: white;
  box-shadow: 0 0 10px #8a2be2;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  margin: 20px;
}

.tab-buttons button {
  margin: 0 10px;
  padding: 10px 20px;
  background: #222;
  color: #0ff;
  border: 1px solid #0ff;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 10px #0ff inset;
  transition: all 0.3s;
}

.tab-buttons button:hover {
  background: #0ff;
  color: #222;
}

.tab-content {
  max-width: 600px;
  margin: auto;
  margin-top: 20px;
  padding: 20px;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 0 20px #892be2a8;
}

.chatbox {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chatbox button, .chatbox select, .chatbox input {
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background: #111;
  color: #0ff;
  box-shadow: 0 0 8px #0ff77f;
}

.chatbox input::placeholder {
  color: #aaa;
}

#schedule-result, #recommendation-result {
  margin-top: 15px;
  padding: 10px;
  background: #000;
  border-left: 4px solid #0ff;
  color: #0ff;
  font-style: italic;
  white-space: pre-wrap;
}

.footer {
  background: linear-gradient(90deg, #4b0082, #8a2be2);
  color: white;
  padding: 10px 5px 5px;
  margin-top: 40px;
  box-shadow: 0 -5px 15px rgba(139, 43, 226, 0.3);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.footer-section p {
  line-height: 1.6;
  color: #e6e6e6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 0;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: #0ff;
  text-shadow: 0 0 8px #0ff;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-block;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.footer-bottom a:hover {
  text-decoration: underline;
  color: #0ff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* ===========================
   🚀 Floating Chat Button (Hyper Attractive)
   =========================== */
#chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 22px;
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 255, 0.25);
  border: 2px solid #0ff;
  border-radius: 50%;
  backdrop-filter: blur(7px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
  color: #0ff;
  font-size: 22px;

  /* 🔥 MULTIPLE animations */
  animation:
    floatY 3s ease-in-out infinite,
    pulseGlow 2.4s ease-in-out infinite;
  transition: 0.25s ease;
}

/* Hover effects */
#chatbot-toggle:hover {
  transform: scale(1.2);
  box-shadow: 0 0 25px #00ffffcc, 0 0 60px #00ffff77;
}

/* Click bounce */
#chatbot-toggle:active {
  transform: scale(0.88);
}

/* 🌊 Pulse glow animation */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 12px #00ffff80; }
  50% { box-shadow: 0 0 22px #00ffffcc; }
  100% { box-shadow: 0 0 12px #00ffff80; }
}

/* ⬆⬇ Floating animation */
@keyframes floatY {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* 🌟 Ripple effect behind button */
#chatbot-toggle::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #00ffff55;
  animation: ripple 2.6s infinite ease-out;
  z-index: -1;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

#chatbot-toggle:hover {
  transform: scale(1.15);
  box-shadow: 0 0 25px #00ffffcc;
}

/* ===========================
   🧊 Chatbox (Glass UI)
   =========================== */
#chatbot-box {
  position: fixed;
  bottom: 180px; /* SAFELY ABOVE FOOTER */
  right: 20px;
  width: 330px;
  height: 430px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid #00ffff55;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  box-shadow: 0 0 25px #00ffff60;
  z-index: 99998;
  animation: fadeIn 0.25s ease forwards;
}

@keyframes chatOpen {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.85);
    box-shadow: none;
  }
  to {
    opacity: 1;
    transform: translateY(0px) scale(1);
    box-shadow: 0 0 30px #00ffff66;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   💬 Header
   =========================== */
#chatbot-header {
  padding: 12px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  background: rgba(0, 255, 255, 0.25);
  color: #0ff;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid #00ffff44;
}

/* ===========================
   📩 Messages
   =========================== */
#chatbot-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  font-size: 14px;
  color: #eee;
}

.message {
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  max-width: 80%;
}

.user-message {
  background: #00ffff22;
  border-left: 3px solid #0ff;
  margin-left: auto;
  color: #0ff;
}

.bot-message {
  background: rgba(255,255,255,0.08);
  border-left: 3px solid #6a00ff;
  color: #e2d9ff;
}

/* ===========================
   ⌨ Input Bar
   =========================== */
#chatbot-input-area {
  display: flex;
  border-top: 1px solid #00ffff44;
}

#chatbot-input {
  flex: 1;
  padding: 10px;
  background: rgba(20,20,20,0.6);
  border: none;
  color: white;
  outline: none;
}

#chatbot-send {
  width: 60px;
  background: #0ff;
  border: none;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s;
}

#chatbot-send:hover {
  background: #7fffff;
}
/* USER MESSAGE — Cyan */
.user-message {
  background: #00eaff33;
  border-left: 3px solid #00eaff;
  color: #b8faff;
  margin-left: auto;
  padding: 10px 12px;
  border-radius: 10px;
  max-width: 75%;
  margin-top: 10px;
}

/* AI MESSAGE — Purple */
.bot-message {
  background: #b000ff22;
  border-left: 3px solid #b000ff;
  color: #f1d9ff;
  margin-right: auto;
  padding: 10px 12px;
  border-radius: 10px;
  max-width: 75%;
  margin-top: 10px;
}

