/* .chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: white;
    padding: 14px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 10000;
  }
  
  .chatbot-toggle:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #0056b3, #00a6e0);
  } */


.chatbot {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  cursor: pointer;
  z-index: 1000;
}
  .chatbot-toggle {
    position: fixed;
    bottom: 2px;
    right: 5px;
    cursor: pointer;
    z-index: 1000;
    height: 140px;
    margin-bottom: 100px;
  }
  
  
  .chatbot {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 360px;
    max-height: 80vh;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    font-family: 'Segoe UI', sans-serif;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.4s ease-out;
  }
  
  @keyframes slideUp {
    from {
      transform: translateY(50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .hidden {
    display: none;
  }
  
  .chatbot-header {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  #chatbotClose {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0);
  border: none;
  border-radius: 50%;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

#chatbotClose::before,
#chatbotClose::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

#chatbotClose::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#chatbotClose::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#chatbotClose:hover {
  background: rgba(230, 57, 71, 0); /* soft red */
  transform: scale(1.1);
}

#chatbotClose:hover::before,
#chatbotClose:hover::after {
  background-color: rgba(230, 57, 70, 0.85);
}

  .chat-box {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.5);
  }
  
  .input-area {
    display: flex;
    border-top: 1px solid #ddd;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
  }
  
  .input-area input {
    flex: 1;
    border: none;
    padding: 14px;
    font-size: 15px;
    background: transparent;
    outline: none;
  }
  
  .input-area button {
    background: #007bff;
    color: white;
    border: none;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .input-area button:hover {
    background: #0056b3;
  }
  
  .message {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    max-width: 90%;
  }
  
  .user {
    background: #daf3ff;
    color: #004d66;
    border-radius: 16px 16px 0 16px;
    padding: 12px 16px;
    align-self: flex-end;
    margin-left: auto;
    animation: fadeIn 0.3s ease-in;
  }
  
  .bot {
    background: #f1f1f1;
    border-radius: 16px 16px 16px 0;
    padding: 12px 16px;
    align-self: flex-start;
    margin-right: auto;
    animation: fadeIn 0.3s ease-in;
  }
  
  .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ccc;
    display: inline-block;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .suggestion-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(245, 245, 245, 0.7);
    border-top: 1px solid #e0e0e0;
  }
  
  .suggestion-btn {
    background: white;
    border: 1px solid #007bff;
    color: #007bff;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.25s ease;
  }
  
  .suggestion-btn:hover {
    background: #007bff;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.4);
  }
 
  