
        /* Chatbot Toggle Button */
        .chatbot-toggle {
            position: fixed;
            bottom: 65px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-color), #2563eb);
            border-radius: 50%;
            border: none;
            cursor: pointer;
            z-index: 1001;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 25px rgba(58, 134, 255, 0.3);
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }

        .chatbot-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 35px rgba(58, 134, 255, 0.4);
        }

        .chatbot-toggle svg {
            width: 28px;
            height: 28px;
            fill: white;
            transition: all 0.3s ease;
        }

        .chatbot-toggle.active svg {
            transform: rotate(180deg);
        }

        @keyframes pulse {
            0% { box-shadow: 0 8px 25px rgba(58, 134, 255, 0.3); }
            50% { box-shadow: 0 8px 25px rgba(58, 134, 255, 0.6), 0 0 0 10px rgba(58, 134, 255, 0.1); }
            100% { box-shadow: 0 8px 25px rgba(58, 134, 255, 0.3); }
        }

        /* Chatbot Container */
        .chatbot-container {
            position: fixed;
            bottom: 100px;
            right: 30px;
            width: 400px;
            height: 600px;
            background: var(--bg-card);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
            z-index: 1000;
            display: none;
            flex-direction: column;
            overflow: hidden;
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .chatbot-container.active {
            display: flex;
            transform: translateY(0);
            opacity: 1;
        }

        /* Chatbot Header */
        .chatbot-header {
            background: linear-gradient(135deg, var(--primary-color), #2563eb);
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .chatbot-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 18px;
        }

        .chatbot-info h3 {
            font-size: 1.1rem;
            margin-bottom: 3px;
        }

        .chatbot-info p {
            font-size: 0.85rem;
            opacity: 0.9;
        }

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

        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0.5; }
        }

        /* Chat Messages */
        .chatbot-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .chatbot-messages::-webkit-scrollbar {
            width: 6px;
        }

        .chatbot-messages::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
        }

        .chatbot-messages::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 3px;
        }

        .message {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            animation: slideUp 0.3s ease;
        }

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

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

        .message.bot .message-avatar {
            background: var(--primary-color);
        }

        .message.user .message-avatar {
            background: #64748b;
        }

        .message-content {
            max-width: 75%;
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .message.bot .message-content {
            background: rgba(255, 255, 255, 0.1);
            border-bottom-left-radius: 6px;
        }

        .message.user .message-content {
            background: var(--primary-color);
            border-bottom-right-radius: 6px;
        }

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

        /* Quick Actions */
        .quick-actions {
            padding: 15px 20px;
            border-top: 1px solid var(--border-color);
        }

        .quick-actions-title {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-bottom: 10px;
        }

        .quick-actions-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .quick-action-btn {
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            color: var(--text-primary);
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .quick-action-btn:hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }

        /* Chat Input */
        .chatbot-input {
            padding: 20px;
            border-top: 1px solid var(--border-color);
            display: flex;
            gap: 10px;
            align-items: flex-end;
        }

        .input-container {
            flex: 1;
            position: relative;
        }

        .chatbot-input textarea {
            width: 100%;
            padding: 12px 45px 12px 15px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid var(--border-color);
            border-radius: 25px;
            color: var(--text-primary);
            font-size: 0.9rem;
            resize: none;
            max-height: 100px;
            min-height: 45px;
            font-family: inherit;
        }

        .chatbot-input textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.15);
        }

        .chatbot-input textarea::placeholder {
            color: var(--text-secondary);
        }

        .send-button {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 32px;
            height: 32px;
            background: var(--primary-color);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .send-button:hover {
            background: #2563eb;
            transform: translateY(-50%) scale(1.1);
        }

        .send-button svg {
            width: 16px;
            height: 16px;
            fill: white;
        }

        /* Typing Indicator */
        .typing-indicator {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 18px;
            border-bottom-left-radius: 6px;
            max-width: 75%;
        }

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

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

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

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

        /* Welcome Message */
        .welcome-message {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-secondary);
        }

        .welcome-message h3 {
            color: var(--text-primary);
            margin-bottom: 10px;
        }

        /* Responsive Design */
        @media (max-width: 480px) {
            .chatbot-container {
                width: calc(100vw - 20px);
                right: 10px;
                left: 10px;
                bottom: 90px;
                height: calc(100vh - 120px);
            }

            .chatbot-toggle {
                right: 20px;
                bottom: 20px;
            }
        }

        /* Error States */
        .error-message {
            color: #ef4444;
            font-size: 0.8rem;
            text-align: center;
            padding: 10px;
            background: rgba(239, 68, 68, 0.1);
            border-radius: 8px;
            margin: 10px 0;
        }

        /* Loading State */
        .loading {
            opacity: 0.7;
            pointer-events: none;
        }