/* Chat Widget Styles */
  #chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }

  #chat-bubble {
    width: 60px;
    height: 60px;
    background: #3a9ed1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s;
  }

  #chat-bubble:hover {
    transform: scale(1.1);
    background: #3a9ed1;
  }

  /* Use Font Awesome icon you already load */
  #chat-bubble i {
    color: white;
    font-size: 24px;
  }

  #chat-window {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 500px;
    height: 700px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
  }

  #chat-window.open {
    display: flex;
  }

  #chat-header {
    background: #3a9ed1;
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #chat-header h4 {
    margin: 0;
    font-size: 16px;
  }

  #close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
  }

  #chat-container {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #f9f9f9;
  }

  .message {
    margin: 8px 0;
    padding: 8px 12px;
    border-radius: 12px;
    max-width: 75%;
    word-wrap: break-word;
    white-space: pre-wrap;
    font-size: 14px;
  }

  .user {
    background: #3a9ed1;
    color: #ffffff;
    margin-left: auto;
    text-align: right;
  }

  .bot {
    background: #E8E8E8;
    color: #333333;
  }

  #chat-input-container {
    display: flex;
    padding: 10px;
    background: #ffffff;
    border-top: 1px solid #dddddd;
  }

  #query-input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #cccccc;
    border-radius: 18px;
    font-size: 14px;
    outline: none;
  }

  #send-btn {
    padding: 8px 14px;
    margin-left: 8px;
    background: #3a9ed1;
    color: #ffffff;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    font-size: 14px;
  }

  #send-btn:hover {
    background: #3a9ed1;
  }

  @media (max-width: 768px) {
    #chat-window {
      width: 90%;
      right: 5%;
      height: 70vh;
    }
  }

