/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  position: relative;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
}

/* Navigation styles */
.navbar {
  background-color: #0a192f;
  padding: 0.86rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 25px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1.15rem;
}

.nav-links a:hover {
  color: #ffd700;
}

/* Mobile menu styles */
.menu-button {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background-color: #0a192f;
  padding: 2rem;
  font-size: 1rem;
  z-index: 1000;
}

.mobile-menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid #1a2942;
}

.close-button {
  color: white;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 2rem;
}

/* Main content styles */
main {
  flex: 1;
  display: flex;
  justify-content: center; /* Center horizontally */
  overflow: hidden;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Chatbot container styles */
#chatbot-container {
  flex: 1;
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 100%;
  max-width: 1200px; /* Updated to professional width */
  margin: 0 auto;
  padding: 0 24px; /* Add padding for better spacing on slightly smaller screens */
}

#chatling-inline-bot {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
}

/* Media queries */
@media (max-width: 1248px) { /* 1200px + 24px padding on each side */
  #chatbot-container {
    max-width: 1000px;
  }
}

@media (max-width: 1048px) { /* 1000px + 24px padding on each side */
  #chatbot-container {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-menu.active {
    display: block;
  }

  #chatbot-container {
    max-width: 100%;
    padding: 0 16px; /* Smaller padding on mobile */
  }
}