body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  /* Chatbot Icon on the right */
  .chatbot-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2c7be5;
    color: white;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
  }
  
  .chatbot-icon:hover {
    transform: scale(1.1);
  }
  
  .chatbot-icon img {
    width: 30px;
    height: 30px;
  }
  
  /* Chatbot container */
  .chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    max-width: 90%;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    z-index: 1000;
    display: none;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
  }
  
  /* Chatbot Header */
  .chatbot-header {
    background-color: #2c7be5;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .chatbot-header img {
    width: 24px;
    vertical-align: middle;
  }
  
  /* Chatlogs */
  .chatlogs {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
  }
  
  .chatlogs::-webkit-scrollbar {
    width: 6px;
  }
  
  .chatlogs::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
  }
  
  .chatlogs::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
  }
  
  /* Message Styles */
  .message {
    margin: 10px 0;
    padding: 12px 15px;
    border-radius: 20px;
    max-width: 75%;
    font-size: 14px;
    line-height: 1.5;
    display: inline-block;
  }
  
  .user-message {
    background-color: #d1ecf1;
    color: #0c5460;
    text-align: right;
    align-self: flex-end;
    border-top-right-radius: 0;
  }
  
  .bot-message {
    background-color: #f1f1f1;
    color: #333;
    text-align: left;
    align-self: flex-start;
    border-top-left-radius: 0;
  }
  
  /* Input Area */
  .chat-input {
    display: flex;
    padding: 10px;
    background-color: #e9ecef;
    border-top: 1px solid #ccc;
  }
  
  .chat-input input {
    flex-grow: 1;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease;
  }
  
  .chat-input input:focus {
    border-color: #2c7be5;
  }
  
  .chat-input button {
    background-color: #2c7be5;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
  }
  
  .chat-input button:hover {
    background-color: #235ab5;
  }
  
  /* Typing Indicator - Horizontal */
.typing-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px; /* Space between dots */
  }
  
  .typing-indicator .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    animation: typing-animation 1.5s infinite ease-in-out;
  }
  
  /* Delay for each dot */
  .typing-indicator .dot:nth-child(1) {
    animation-delay: 0s;
  }
  
  .typing-indicator .dot:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .typing-indicator .dot:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  /* Keyframes for typing animation */
  @keyframes typing-animation {
    0% {
      transform: scale(0.5);
      opacity: 0.5;
    }
    50% {
      transform: scale(1);
      opacity: 1;
    }
    100% {
      transform: scale(0.5);
      opacity: 0.5;
    }
  }
  
  /* Responsive Design */
  @media (max-width: 600px) {
    .chatbot-container {
      width: 90%;
      bottom: 15px;
      right: 10px;
    }
  
    .chatbot-icon {
      padding: 12px;
      bottom: 15px;
      right: 10px;
    }
  
    .chatbot-header {
      font-size: 16px;
      padding: 10px;
    }
  
    .chat-input input {
      font-size: 12px;
      padding: 8px;
    }
  
    .chat-input button {
      font-size: 12px;
      padding: 8px 12px;
    }
  
    .message {
      max-width: 90%;
    }
  }
  




  .suggestion-button {
    display: inline-block;
    background-color: #2c7be5;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
  }
  
  .suggestion-button:hover {
    background-color: #235ab5;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
  }
  
  .suggestion-button:active {
    background-color: #1e4a91;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
  }
  
  /* Additional styles for accessibility */
  .suggestion-button:focus {
    outline: 2px solid #ffcc00;
    outline-offset: 2px;
  }
  

  /* Chatbot Close Button */
.chatbot-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    z-index: 1001;
  }
  
  .chatbot-close:hover {
    color: #ff4d4f;
    transform: scale(1.2);
    transition: transform 0.2s, color 0.2s;
  }
  
  /* Adjust Chatbot Header */
  .chatbot-header {
    position: relative;
    background-color: #2c7be5;
    color: white;
    text-align: center;
    padding: 10px 40px 10px 10px; /* Space for close button */
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
  }
  
  .chatbot-header img {
    width: 24px;
    vertical-align: middle;
    margin-right: 8px;
  }
  