     /* AI Chatbot Styles */
        .chatbot-button {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: white;
            border: 3px solid var(--color-primary);
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(65, 105, 225, 0.4);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            overflow: hidden;
            padding: 0;
        }

        .chatbot-button img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .chatbot-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 30px rgba(65, 105, 225, 0.6);
        }

        [data-theme="ai"] .chatbot-button {
            background: white;
            border-color: var(--color-purple-500);
            box-shadow: 0 4px 20px rgba(168, 85, 247, 0.6);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% {
                box-shadow: 0 4px 20px rgba(168, 85, 247, 0.6);
            }
            50% {
                box-shadow: 0 4px 40px rgba(168, 85, 247, 0.9);
            }
        }

      /* Chatbot Card */
        .chatbot-card {
            position: fixed;
            bottom: 110px;
            right: 30px;
            width: 420px;
            max-height: 650px;
            background: var(--color-card-bg);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-lg);
            z-index: 1000;
            display: none;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid var(--color-border);
            transition: all 0.3s ease;
        }

        .chatbot-card.active {
            display: flex;
            animation: slideUp 0.3s ease;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

       /* Header */
/* Header */
.chatbot-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-purple-500));
    color: rgb(255, 255, 255);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-theme="dark"] .chatbot-header {
    background: linear-gradient(135deg, var(--color-purple-500), #ec4899);
}

.chatbot-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.header-info h3 {
    font-size: 16px;
    margin-bottom: 2px;
}

.online-status {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.header-clear-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.header-clear-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

        /* Body */
        .chatbot-body {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: var(--color-background);
            max-height: 400px;
        }

        [data-theme="dark"] .chatbot-body {
            background: rgba(15, 23, 42, 0.5);
        }

        /* Messages */
        .message {
            margin-bottom: 15px;
            animation: fadeInUp 0.4s ease;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(15px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .message-user {
            display: flex;
            justify-content: flex-end;
        }

        .message-bot {
            display: flex;
            justify-content: flex-start;
            align-items: flex-start;
            gap: 8px;
        }

        .bot-icon {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--color-primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
            margin-top: 4px;
        }

        .message-content {
            max-width: 75%;
        }

        .message-bubble {
            padding: 12px 16px;
            border-radius: 16px;
            font-size: 14px;
            line-height: 1.5;
            word-wrap: break-word;
        }

        .message-user .message-bubble {
            background: var(--color-primary);
            color: white;
            border-radius: 16px 16px 4px 16px;
        }

        [data-theme="dark"] .message-user .message-bubble {
            background: var(--color-purple-500);
            box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
        }

        .message-bot .message-bubble {
            background: var(--color-card-bg);
            color: var(--color-text);
            border: 1px solid var(--color-border);
            border-radius: 4px 16px 16px 16px;
        }

        .message-time {
            font-size: 11px;
            color: var(--color-text-secondary);
            margin-top: 4px;
            padding: 0 8px;
        }

        /* Typing Indicator */
        .typing-indicator {
            display: none;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            background: var(--color-card-bg);
            border: 1px solid var(--color-border);
            border-radius: 16px;
            max-width: fit-content;
        }

        .typing-indicator.active {
            display: flex;
        }

        .typing-dot {
            width: 8px;
            height: 8px;
            background: var(--color-text-secondary);
            border-radius: 50%;
            animation: typing 1.4s infinite;
        }

        .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;
            }
        }

        /* Suggested Questions */
        .suggestions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 15px;
        }

        .suggestion-chip {
            background: var(--color-card-bg);
            border: 1px solid var(--color-border);
            padding: 8px 14px;
            border-radius: 20px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s;
            color: var(--color-text);
        }

        .suggestion-chip:hover {
            background: var(--color-primary);
            color: white;
            border-color: var(--color-primary);
            transform: translateY(-2px);
        }

        [data-theme="dark"] .suggestion-chip:hover {
            background: var(--color-purple-500);
            border-color: var(--color-purple-500);
            box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
        }

        /* Input Area */
        .chatbot-footer {
            padding: 15px 20px;
            background: var(--color-card-bg);
            border-top: 1px solid var(--color-border);
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .chat-input {
            flex: 1;
            padding: 12px 16px;
            border: 1px solid var(--color-border);
            border-radius: 25px;
            font-size: 14px;
            background: var(--color-background);
            color: var(--color-text);
            outline: none;
            transition: all 0.3s;
        }

        .chat-input:focus {
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
        }

        [data-theme="dark"] .chat-input:focus {
            border-color: var(--color-purple-500);
            box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
        }

        .send-button {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--color-primary);
            color: white;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            font-size: 18px;
        }

        .send-button:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(65, 105, 225, 0.4);
        }

        .send-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Voice Input Button */
        .voice-button {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--color-primary);
            color: white;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            font-size: 18px;
        }

        .voice-button:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(65, 105, 225, 0.4);
        }

        .voice-button.listening {
            background: #e74c3c;
            animation: pulse-red 1.5s infinite;
        }

        @keyframes pulse-red {
            0%, 100% {
                box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
            }
            50% {
                box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
            }
        }

        /* Voice Output Controls */
        .voice-controls {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-top: 10px;
        }

        .voice-control-button {
            background: transparent;
            border: 1px solid var(--color-border);
            padding: 4px 8px;
            border-radius: var(--radius-base);
            color: var(--color-text);
            cursor: pointer;
            font-size: 12px;
            transition: all 0.3s;
        }

        .voice-control-button:hover {
            background: var(--color-primary);
            color: white;
            border-color: var(--color-primary);
        }

        /* Scrollbar */
        .chatbot-body::-webkit-scrollbar {
            width: 6px;
        }

        .chatbot-body::-webkit-scrollbar-track {
            background: transparent;
        }

        .chatbot-body::-webkit-scrollbar-thumb {
            background: var(--color-border);
            border-radius: 3px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .chatbot-card {
                width: calc(100vw - 40px);
                right: 20px;
                bottom: 100px;
                max-height: 550px;
            }

            .chatbot-button {
                width: 60px;
                height: 60px;
                right: 20px;
                bottom: 20px;
            }
        }

        /* Welcome Screen */
        .welcome-screen {
            text-align: center;
            padding: 20px;
        }

        .welcome-screen h4 {
            color: var(--color-text);
            margin-bottom: 10px;
            font-size: 18px;
        }

        .welcome-screen p {
            color: var(--color-text-secondary);
            font-size: 14px;
            margin-bottom: 20px;
        }

        .history-button {
            background: transparent;
            border: 1px solid var(--color-border);
            padding: 8px 16px;
            border-radius: var(--radius-base);
            color: var(--color-text);
            cursor: pointer;
            font-size: 13px;
            margin-top: 10px;
            transition: all 0.3s;
        }

        .history-button:hover {
            background: var(--color-primary);
            color: white;
            border-color: var(--color-primary);
        }