    :root {
        --chat-primary: #0a0a0a;
        --chat-accent: #ff6b35;
        --chat-bg: #ffffff;
        --chat-surface: #f8f8f8;
        --chat-border: #e5e5e5;
        --chat-text: #1a1a1a;
        --chat-text-secondary: #666666;
    }

    /* Floating Chat Button */
    #chatbot-button {
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, var(--chat-accent) 0%, #e85d2c 100%);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 99998;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    #chatbot-button:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 30px rgba(255, 107, 53, 0.4);
    }

    #chatbot-button svg {
        width: 40px;
        height: 40px;
        fill: white;
        transition: transform 0.3s ease;
    }

    #chatbot-button.open svg {
        transform: rotate(180deg);
    }

    /* Chat Container */
    #chatbot-container {
        position: fixed;
        bottom: 100px;
        right: 24px;
        width: 400px;
        height: 600px;
        background: var(--chat-bg);
        border-radius: 16px;
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        z-index: 99999;
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        overflow: hidden;
        border: 1px solid var(--chat-border);
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }

    #chatbot-container.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: all;
    }

    /* Chat Header */
    .chatbot-header {
        padding: 20px 24px;
        background: linear-gradient(135deg, var(--chat-primary) 0%, #2a2a2a 100%);
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .chatbot-header-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .chatbot-avatar {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--chat-accent) 0%, #e85d2c 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 18px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .chatbot-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }

    .chatbot-title h3 {
        font-size: 15px;
        font-weight: 700;
        margin: 0;
    }

    .chatbot-status {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.7);
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 2px;
    }

    .chatbot-status-dot {
        width: 6px;
        height: 6px;
        background: #4ade80;
        border-radius: 50%;
        animation: chatbot-pulse 2s infinite;
    }

    @keyframes chatbot-pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.5; }
    }

    .chatbot-close {
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.8);
        cursor: pointer;
        padding: 8px;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .chatbot-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    /* Chat Messages */
    .chatbot-messages {
        flex: 1;
        overflow-y: auto;
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        background: var(--chat-surface);
    }

    .chatbot-message {
        display: flex;
        gap: 12px;
        animation: chatbot-slide 0.3s ease;
    }

    @keyframes chatbot-slide {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .chatbot-message.user {
        flex-direction: row-reverse;
    }

    .chatbot-message-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-weight: 600;
        font-size: 14px;
    }

    .chatbot-message.bot .chatbot-message-avatar {
        background: linear-gradient(135deg, var(--chat-accent) 0%, #e85d2c 100%);
        color: white;
    }

    .chatbot-message.user .chatbot-message-avatar {
        background: var(--chat-primary);
        color: white;
    }

    .chatbot-message-content {
        max-width: 75%;
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 14px;
        line-height: 1.6;
        word-wrap: break-word;
    }

    .chatbot-message.bot .chatbot-message-content {
        background: white;
        color: var(--chat-text);
        border: 1px solid var(--chat-border);
        border-radius: 12px 12px 12px 4px;
    }

    .chatbot-message.user .chatbot-message-content {
        background: var(--chat-primary);
        color: white;
        border-radius: 12px 12px 4px 12px;
    }

    /* Typing Indicator */
    .chatbot-typing {
        display: flex;
        gap: 12px;
        align-items: center;
        padding: 12px 16px;
        background: white;
        border: 1px solid var(--chat-border);
        border-radius: 12px;
        width: fit-content;
    }

    .chatbot-typing-dots {
        display: flex;
        gap: 4px;
    }

    .chatbot-typing-dot {
        width: 8px;
        height: 8px;
        background: var(--chat-accent);
        border-radius: 50%;
        animation: chatbot-bounce 1.4s infinite;
    }

    .chatbot-typing-dot:nth-child(2) { animation-delay: 0.2s; }
    .chatbot-typing-dot:nth-child(3) { animation-delay: 0.4s; }

    @keyframes chatbot-bounce {
        0%, 60%, 100% { transform: translateY(0); opacity: 0.7; }
        30% { transform: translateY(-8px); opacity: 1; }
    }

    /* Chat Input */
    .chatbot-input-container {
        padding: 16px 24px 20px;
        background: var(--chat-bg);
        border-top: 1px solid var(--chat-border);
    }

    .chatbot-input-wrapper {
        display: flex;
        gap: 12px;
        align-items: flex-end;
    }

    .chatbot-input {
        flex: 1;
        padding: 12px 16px;
        border: 2px solid var(--chat-border);
        border-radius: 12px;
        font-size: 14px;
        font-family: inherit;
        resize: none;
        max-height: 120px;
        transition: all 0.2s ease;
        background: var(--chat-surface);
        color: var(--chat-text);
    }

    .chatbot-input:focus {
        outline: none;
        border-color: var(--chat-accent);
        background: white;
    }

    .chatbot-send {
        width: 70px;
        height: 50px;
        background: linear-gradient(135deg, var(--chat-accent) 0%, #e85d2c 100%);
        border: none;
        border-radius: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

    .chatbot-send:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }

    .chatbot-send:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .chatbot-welcome {
        text-align: center;
        padding: 40px 20px;
        color: var(--chat-text-secondary);
    }

    .chatbot-welcome h4 {
        color: var(--chat-text);
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    /* Mobile Responsive */
    @media (max-width: 480px) {
        #chatbot-container {
            width: calc(100vw - 32px);
            height: calc(100vh - 140px);
            right: 16px;
            bottom: 90px;
        }
        #chatbot-button {
            right: 16px;
            bottom: 16px;
        }
    }
