#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  #chatbot-toggle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-orange);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
  }
  
  #chatbot-toggle:hover {
    transform: scale(1.1);
    background: var(--primary-orange-dark);
  }
  
  #chatbot-toggle img {
    width: 38px;
    height: 38px;
  }
  
  #chatbot-widget {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 600px;
    max-height: 85vh;
    background: var(--background-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    transform-origin: bottom right;
  }
  
  #chatbot-widget.chatbot-hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
  }
  
  .chatbot-header {
    background: var(--background-dark);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .chatbot-info {
    display: flex;
    align-items: center;
  }
  
  .chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.75rem;
    background: var(--background-white);
    border: 2px solid var(--primary-orange);
  }
  
  .chatbot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .chatbot-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: white;
  }
  
  .chatbot-status {
    font-size: 0.75rem;
    opacity: 0.8;
    color: rgba(255,255,255,0.8);
  }
  
  #chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
  }
  
  #chatbot-close:hover {
    opacity: 1;
    background: rgba(255,255,255,0.1);
  }
  
  .chatbot-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    background: var(--background-light);
  }
  
  .message {
    display: flex;
    margin-bottom: 1.5rem;
    max-width: 85%;
  }
  
  .message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.75rem;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
  }
  
  .message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .message-content {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
  }
  
  .message-content p {
    margin: 0;
  }
  
  .bot-message {
    align-self: flex-start;
  }
  
  .bot-message .message-content {
    background: var(--background-white);
    color: var(--text-primary);
    border-top-left-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
  }
  
  .user-message {
    margin-left: auto;
    flex-direction: row-reverse;
  }
  
  .user-message .message-avatar {
    margin-right: 0;
    margin-left: 0.75rem;
    display: none;
  }
  
  .user-message .message-content {
    background: var(--primary-orange);
    color: white;
    border-top-right-radius: var(--radius-sm);
  }
  
  .chatbot-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-left: 45px;
  }
  
  .chatbot-button {
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    cursor: pointer;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
  }
  
  .chatbot-button:hover {
    background: var(--background-light);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
  }
  
  .chatbot-input-area {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--border-light);
    background: var(--background-white);
    gap: 0.75rem;
    align-items: flex-end;
  }
  
  #chatbot-input {
    flex-grow: 1;
    border: 1px solid var(--border-light);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    background: var(--background-light);
    border-radius: var(--radius-lg);
    resize: none;
    min-height: 20px;
    max-height: 100px;
    font-family: inherit;
    transition: border-color 0.3s ease;
  }
  
  #chatbot-input:focus {
    outline: none;
    border-color: var(--primary-orange);
  }
  
  #chatbot-send {
    background: var(--primary-orange);
    border: none;
    cursor: pointer;
    color: white;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  #chatbot-send:hover {
    background: var(--primary-orange-dark);
    transform: scale(1.05);
  }
  
  #chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
  }
  
  .typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
  }
  
  .typing-indicator .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typing 1.3s linear infinite;
  }
  
  .typing-indicator .dot:nth-child(2) {
    animation-delay: -1.1s;
  }
  
  .typing-indicator .dot:nth-child(3) {
    animation-delay: -0.9s;
  }
  
  @keyframes typing {
    0%, 60%, 100% {
      transform: translateY(0);
    }
    30% {
      transform: translateY(-8px);
    }
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 480px) {
    #chatbot-widget {
      width: 95vw;
      height: 70vh;
      bottom: 70px;
      right: 2.5vw;
    }
    
    #chatbot-toggle {
      width: 55px;
      height: 55px;
      bottom: 15px;
      right: 15px;
    }
    
    #chatbot-toggle img {
      width: 28px;
      height: 28px;
    }
    
    .chatbot-header {
      padding: 0.75rem;
    }
    
    .chatbot-header h3 {
      font-size: 0.9rem;
    }
    
    .chatbot-status {
      font-size: 0.7rem;
    }
    
    .message-content {
      font-size: 0.85rem;
      padding: 0.625rem 0.875rem;
    }
    
    .chatbot-buttons {
      padding-left: 35px;
    }
    
    .chatbot-button {
      font-size: 0.8rem;
      padding: 0.625rem 0.875rem;
    }
  }