/* Support Fixed Buttons */
        .support-fixed {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .hotline-btn,
        .chatbot-trigger {
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            text-decoration: none;
            border: none;
            outline: none;
        }

        .hotline-btn {
            background: hsl(var(--base));
            color: white;
            padding: 12px 16px;
            border-radius: 50px;
            gap: 10px;
            min-width: 160px;
            animation: hotlinePulse 3s infinite;
        }

        .hotline-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(255, 71, 87, 0.4);
            color: white;
            text-decoration: none;
        }

        .hotline-btn i {
            font-size: 18px;
            animation: phoneRing 2s infinite;
        }

        .hotline-text {
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 0.5px;
        }

        @keyframes phoneRing {
            0%, 100% { transform: rotate(0deg); }
            10%, 30% { transform: rotate(-15deg); }
            20% { transform: rotate(15deg); }
        }

        @keyframes hotlinePulse {
            0%, 100% {
                box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
            }
            50% {
                box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6);
            }
        }

        .chatbot-trigger {
            width: 60px;
            height: 60px;
            background: hsl(var(--base));
            border-radius: 50%;
            animation: chatbotPulse 2s infinite;
        }

        .chatbot-trigger:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
        }

        .chatbot-trigger i {
            color: white;
            font-size: 24px;
        }

        @keyframes chatbotPulse {
            0%, 100% {
                box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
            }
            50% {
                box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
            }
        }

        .chatbot-modal {
            position: fixed;
            bottom: 100px;
            right: 30px;
            width: 380px;
            height: 500px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            z-index: 10000;
            display: none;
            overflow: hidden;
            transform: scale(0.8) translateY(20px);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .chatbot-modal.show {
            display: block;
            transform: scale(1) translateY(0);
            opacity: 1;
        }

        .chatbot-modal.minimized {
            height: 60px;
        }

        .chatbot-modal.minimized .chat-body,
        .chatbot-modal.minimized .chat-footer {
            display: none;
        }

        .chat-header {
            background: hsl(var(--base));
            color: white;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 20px 20px 0 0;
        }

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

        .chat-header img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid white;
        }

        .chat-header-text h4 {
            margin: 0;
            font-size: 16px;
            font-weight: 600;
            color: white
        }

        .chat-header-text small {
            font-size: 12px;
            opacity: 0.9;
            display: flex;
            align-items: center;
            gap: 5px;
        }

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

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

        .chat-controls {
            display: flex;
            gap: 8px;
        }

        .chat-control-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            padding: 5px 8px;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .chat-control-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .chat-body {
            flex: 1;
            display: flex;
            flex-direction: column;
            height: 350px;
        }

        .chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            background: #f8f9fa;
        }

        .chat-messages::-webkit-scrollbar {
            width: 4px;
        }

        .chat-messages::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .chat-messages::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 2px;
        }

        .message {
            display: flex;
            margin-bottom: 15px;
            align-items: flex-start;
            gap: 10px;
            animation: slideIn 0.3s ease;
        }

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

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

        .message img {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            border: 2px solid white;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .message p {
            background: white;
            padding: 10px 15px;
            border-radius: 18px;
            max-width: 250px;
            margin: 0;
            word-wrap: break-word;
            line-height: 1.4;
            font-size: 14px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .message.right p {
            background: hsl(var(--base));
            color: white;
        }

        .typing-indicator {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 20px;
            background: rgba(0, 0, 0, 0.05);
            border-top: 1px solid #eee;
        }
        .typing-indicator img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
        }

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

        .typing-dots span {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #666;
            animation: typing 1.4s infinite;
        }

        .typing-dots span:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-dots span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-dots span:nth-child(3) {
            animation-delay: 0.4s;
        }

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

        .typing-dots {
            background: white;
            padding: 12px 15px;
            border-radius: 18px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            display: flex;
            gap: 3px;
            align-items: center;
        }

        .typing-dots span {
            width: 6px;
            height: 6px;
            background: #667eea;
            border-radius: 50%;
            animation: typing 1.4s infinite;
        }

        .typing-dots span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-dots span:nth-child(3) {
            animation-delay: 0.4s;
        }

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

        .chat-footer {
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #eee;
            border-radius: 0 0 20px 20px;
        }

        .chat-input-group {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .chat-input {
            flex: 1;
            padding: 10px 15px;
            border: 2px solid #e9ecef;
            border-radius: 25px;
            outline: none;
            font-size: 14px;
            transition: border-color 0.3s;
        }

        .chat-input:focus {
            border-color: hsl(var(--base));
        }

        .chat-send-btn {
            background: hsl(var(--base));
            border: none;
            color: white;
            padding: 10px 15px;
            border-radius: 50%;
            cursor: pointer;
            transition: transform 0.2s;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .chat-send-btn:hover:not(:disabled) {
            transform: scale(1.1);
        }

        .chat-send-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
        /* ================= DARK MODE CHATBOT ================ */
        [data-theme="dark"] .chatbot-modal {
            background: #1e1e1e;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
        }

        [data-theme="dark"] .chat-header {
            background: hsl(var(--base));
            color: white;
        }

        [data-theme="dark"] .chat-header-text h4,
        [data-theme="dark"] .chat-header-text small {
            color: white;
        }

        [data-theme="dark"] .chat-header img {
            border: 2px solid #333;
        }

        [data-theme="dark"] .chat-controls .chat-control-btn {
            background: rgba(255, 255, 255, 0.1);
            color: white;
        }

        [data-theme="dark"] .chat-controls .chat-control-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        [data-theme="dark"] .chat-body {
            background: #2a2a2a;
        }

        [data-theme="dark"] .chat-messages {
            background: #2a2a2a;
        }

        [data-theme="dark"] .chat-messages::-webkit-scrollbar-track {
            background: #333;
        }

        [data-theme="dark"] .chat-messages::-webkit-scrollbar-thumb {
            background: #555;
        }

        [data-theme="dark"] .message p {
            background: #3a3a3a;
            color: #ddd;
        }

        [data-theme="dark"] .message.right p {
            background: hsl(var(--base));
            color: white;
        }

        [data-theme="dark"] .message img {
            border: 2px solid #333;
        }

        [data-theme="dark"] .typing-dots {
            background: #3a3a3a;
        }

        [data-theme="dark"] .chat-footer {
            background: #2a2a2a;
            border-top: 1px solid #444;
        }

        [data-theme="dark"] .chat-input {
            background: #3a3a3a;
            color: white;
            border-color: #555;
        }

        [data-theme="dark"] .chat-input:focus {
            border-color: hsl(var(--base));
        }

        [data-theme="dark"] .chat-send-btn {
            background: hsl(var(--base));
        }

        [data-theme="dark"] .chat-send-btn:hover:not(:disabled) {
            transform: scale(1.1);
        }

        [data-theme="dark"] .chat-send-btn:disabled {
            background: #555;
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        [data-theme="dark"] .typing-dots span {
            background: hsl(var(--base));
        }
