/* ============================================
   ZENTER AI CHATBOT - Premium UI Design
   Fixed: No scrollbar, messages always visible
   ============================================ */

/* CSS Variables for Chatbot Theme */
:root {
    --chat-primary: #6366f1;
    --chat-primary-dark: #4f46e5;
    --chat-primary-light: #818cf8;
    --chat-primary-subtle: rgba(99, 102, 241, 0.08);
    --chat-secondary: #8b5cf6;
    --chat-accent: #ec4899;
    --chat-success: #10b981;
    --chat-warning: #f59e0b;
    --chat-danger: #ef4444;
    --chat-dark: #0f172a;
    --chat-gray-900: #1e293b;
    --chat-gray-800: #334155;
    --chat-gray-700: #475569;
    --chat-gray-600: #64748b;
    --chat-gray-500: #94a3b8;
    --chat-gray-400: #cbd5e1;
    --chat-gray-300: #e2e8f0;
    --chat-gray-200: #f1f5f9;
    --chat-gray-100: #f8fafc;
    --chat-white: #ffffff;
    --chat-bg: #f8fafc;
    --chat-radius-sm: 8px;
    --chat-radius-md: 12px;
    --chat-radius-lg: 16px;
    --chat-radius-xl: 20px;
    --chat-radius-full: 9999px;
    --chat-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --chat-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --chat-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --chat-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --chat-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --chat-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --chat-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --chat-transition-smooth: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
    --chat-transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   GLOBAL OVERRIDE
   ============================================ */
.zenter-chatbot,
.zenter-chatbot *,
.zenter-chatbot *::before,
.zenter-chatbot *::after {
    box-sizing: border-box !important;
}

/* ============================================
   CONTAINER
   ============================================ */
/* ============================================
   ZENTER AI CHATBOT - Premium Styles
   ============================================ */

/* ── Reset & Container ──────────────────── */
.zenter-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99990;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.zenter-chatbot * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── Toggle Button ──────────────────────── */
.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.45);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 99991;
}

.chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.55);
}

.chatbot-toggle.active {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.chatbot-toggle svg {
    width: 28px;
    height: 28px;
    color: white;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(79, 70, 229, 0.4);
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #EF4444;
    border-radius: 50%;
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: badgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badgePop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* ── Chat Panel ─────────────────────────── */
.chatbot-panel {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    height: 600px;
    max-height: calc(100vh - 40px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    z-index: 99992;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ── Header ─────────────────────────────── */
.chatbot-header {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    padding: 16px 18px 12px;
    flex-shrink: 0;
}

.chatbot-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chatbot-header-text h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.chatbot-header-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
}

.chatbot-status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chatbot-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.chatbot-header-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: white;
}

.chatbot-header-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.chatbot-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.chatbot-close svg {
    width: 18px;
    height: 18px;
    color: white;
}

.chatbot-header-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-top: 8px;
}

/* ── Welcome Screen ─────────────────────── */
.chatbot-welcome {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* NO SCROLLING on welcome */
}

.chatbot-welcome-content {
    text-align: center;
    padding: 20px 18px 10px;
    flex-shrink: 0;
}

.chatbot-welcome-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.chatbot-welcome h4 {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 6px;
    font-family: 'Manrope', sans-serif;
}

.chatbot-welcome p {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

/* Topic Buttons - NO SCROLL, fixed grid */
.chatbot-welcome-topics {
    padding: 10px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
    overflow: hidden; /* Prevent any scrolling */
}

.chatbot-topic-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: #F8F9FA;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-align: left;
}

.chatbot-topic-btn:hover {
    background: #EEF2FF;
    border-color: #C7D2FE;
    transform: translateX(4px);
}

.chatbot-topic-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.chatbot-topic-arrow {
    margin-left: auto;
    color: #9CA3AF;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.chatbot-topic-btn:hover .chatbot-topic-arrow {
    transform: translateX(3px);
    color: #4F46E5;
}

/* ── Messages Area ──────────────────────── */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
}

/* Scrollbar styling */
.chatbot-messages::-webkit-scrollbar {
    width: 5px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* ── Message Bubbles ────────────────────── */
.chatbot-message {
    animation: msgFadeIn 0.3s ease;
}

@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-message-wrapper {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.chatbot-message-user .chatbot-message-wrapper {
    flex-direction: row-reverse;
}

.chatbot-msg-avatar {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.chatbot-message-bot .chatbot-msg-avatar {
    background: #EEF2FF;
}

.chatbot-message-user .chatbot-msg-avatar {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.message-bubble {
    max-width: 85%;
    border-radius: 16px;
    padding: 10px 14px;
    line-height: 1.5;
    font-size: 13.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.chatbot-message-bot .message-bubble {
    background: #F3F4F6;
    color: #1F2937;
    border-bottom-left-radius: 4px;
}

.chatbot-message-user .message-bubble {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-bubble p {
    margin: 0;
    color: inherit;
}

.message-bubble strong {
    font-weight: 700;
}

/* Message Meta */
.chatbot-message-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    padding: 0 4px;
}

.chatbot-message-user .chatbot-message-meta {
    justify-content: flex-end;
}

.chatbot-message-time {
    font-size: 10px;
    color: #9CA3AF;
}

.chatbot-message-status {
    color: #9CA3AF;
    display: flex;
    align-items: center;
}

.chatbot-message-status.delivered {
    color: #4F46E5;
}

/* Feedback Buttons */
.chatbot-feedback {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    padding: 0 4px;
}

.chatbot-feedback-btn {
    background: none;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    opacity: 0.5;
}

.chatbot-feedback-btn:hover {
    opacity: 1;
    background: #F3F4F6;
    border-color: #E5E7EB;
}

.chatbot-feedback-btn.active {
    opacity: 1;
    background: #EEF2FF;
    border-color: #C7D2FE;
}

/* ── Typing Indicator ───────────────────── */
.chatbot-typing {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 0 14px 8px;
}

.chatbot-typing.visible {
    display: flex;
}

.chatbot-typing-avatar {
    width: 28px;
    height: 28px;
    background: #EEF2FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.chatbot-typing-bubble {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: #F3F4F6;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
}

.chatbot-typing-bubble span {
    width: 7px;
    height: 7px;
    background: #9CA3AF;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.chatbot-typing-bubble span:nth-child(2) {
    animation-delay: 0.2s;
}

.chatbot-typing-bubble span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* ── Suggestion Chips ───────────────────── */
.chatbot-suggestions {
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 14px 8px;
    flex-shrink: 0;
}

.chatbot-suggestion-chip {
    padding: 6px 14px;
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #4F46E5;
    white-space: nowrap;
}

.chatbot-suggestion-chip:hover {
    background: #4F46E5;
    color: white;
    border-color: #4F46E5;
    transform: translateY(-1px);
}

/* ── Input Area ─────────────────────────── */
.chatbot-input-area {
    padding: 10px 14px;
    border-top: 1px solid #F3F4F6;
    flex-shrink: 0;
}

.chatbot-input-container {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 6px 8px 6px 14px;
    transition: border-color 0.2s ease;
}

.chatbot-input-container:focus-within {
    border-color: #4F46E5;
    background: white;
}

.chatbot-input {
    flex: 1;
    border: none;
    background: transparent;
    resize: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1F2937;
    outline: none;
    padding: 6px 0;
    max-height: 120px;
    line-height: 1.4;
}

.chatbot-input::placeholder {
    color: #9CA3AF;
}

.chatbot-send {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: none;
    background: #E5E7EB;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chatbot-send svg {
    width: 16px;
    height: 16px;
    color: #9CA3AF;
    transition: color 0.2s ease;
}

.chatbot-send:disabled {
    cursor: default;
    opacity: 0.5;
}

.chatbot-send.active {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
}

.chatbot-send.active svg {
    color: white;
}

.chatbot-send.active:hover {
    transform: scale(1.08);
}

/* ── Footer ─────────────────────────────── */
.chatbot-footer {
    text-align: center;
    padding: 8px;
    font-size: 10px;
    color: #9CA3AF;
    flex-shrink: 0;
    border-top: 1px solid #F3F4F6;
}

.chatbot-footer a {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 600;
}

.chatbot-footer a:hover {
    text-decoration: underline;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 480px) {
    .zenter-chatbot {
        bottom: 10px;
        right: 10px;
    }

    .chatbot-toggle {
        width: 54px;
        height: 54px;
    }

    .chatbot-toggle svg {
        width: 24px;
        height: 24px;
    }

    .chatbot-panel {
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .chatbot-welcome-content {
        padding: 16px 14px 8px;
    }

    .chatbot-welcome-icon {
        font-size: 32px;
    }

    .chatbot-welcome h4 {
        font-size: 18px;
    }

    .chatbot-welcome p {
        font-size: 12px;
    }

    .chatbot-topic-btn {
        padding: 9px 12px;
        font-size: 12px;
    }

    .chatbot-topic-icon {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .chatbot-welcome-topics {
        padding: 6px 10px;
        gap: 4px;
    }

    .chatbot-topic-btn {
        padding: 8px 10px;
        font-size: 11px;
        border-radius: 10px;
    }

    .chatbot-welcome h4 {
        font-size: 16px;
    }

    .chatbot-welcome-icon {
        font-size: 28px;
        margin-bottom: 4px;
    }
}
.chatbot-topic-btn {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    background: var(--chat-white) !important;
    border: 1px solid var(--chat-gray-200) !important;
    border-radius: var(--chat-radius-md) !important;
    cursor: pointer !important;
    transition: all var(--chat-transition-fast) !important;
    text-align: left !important;
    width: 100% !important;
    color: var(--chat-gray-800) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
}

.chatbot-topic-btn:hover {
    background: var(--chat-primary-subtle) !important;
    border-color: rgba(99, 102, 241, 0.2) !important;
    color: var(--chat-primary) !important;
    transform: translateX(4px) !important;
}

.chatbot-topic-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: var(--chat-radius-sm) !important;
    background: var(--chat-primary-subtle) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
    transition: all var(--chat-transition-fast) !important;
}

.chatbot-topic-btn:hover .chatbot-topic-icon {
    background: rgba(99, 102, 241, 0.15) !important;
}

.chatbot-topic-arrow {
    margin-left: auto !important;
    color: var(--chat-gray-400) !important;
    transition: all var(--chat-transition-fast) !important;
    flex-shrink: 0 !important;
}

.chatbot-topic-btn:hover .chatbot-topic-arrow {
    color: var(--chat-primary) !important;
    transform: translateX(4px) !important;
}

/* ============================================
   DATE DIVIDER
   ============================================ */
.chatbot-date-divider {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 4px 0 !important;
    flex-shrink: 0 !important;
}

.chatbot-date-divider::before,
.chatbot-date-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--chat-gray-200);
}

.chatbot-date-divider span {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--chat-gray-500) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
}

/* ============================================
   FEEDBACK BUTTONS
   ============================================ */
.chatbot-feedback {
    display: flex !important;
    gap: 4px !important;
    margin-top: 6px !important;
    padding: 0 4px !important;
    opacity: 0 !important;
    transition: opacity var(--chat-transition-fast) !important;
}

.chatbot-message-bot:hover .chatbot-feedback {
    opacity: 1 !important;
}

.chatbot-feedback-btn {
    width: 28px !important;
    height: 28px !important;
    border-radius: var(--chat-radius-sm) !important;
    background: transparent !important;
    border: 1px solid var(--chat-gray-200) !important;
    color: var(--chat-gray-500) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all var(--chat-transition-fast) !important;
    font-size: 13px !important;
    padding: 0 !important;
}

.chatbot-feedback-btn:hover {
    background: var(--chat-primary-subtle) !important;
    border-color: rgba(99, 102, 241, 0.2) !important;
    color: var(--chat-primary) !important;
}

.chatbot-feedback-btn.active {
    background: var(--chat-primary) !important;
    border-color: var(--chat-primary) !important;
    color: var(--chat-white) !important;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
    .zenter-chatbot {
        bottom: 16px !important;
        right: 16px !important;
    }

    .chatbot-toggle {
        width: 56px !important;
        height: 56px !important;
    }

    .chatbot-panel {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        z-index: 2147483647 !important;
    }

    .chatbot-panel.open {
        animation: chatMobileOpen 0.3s ease forwards !important;
    }

    @keyframes chatMobileOpen {
        0% { opacity: 0; transform: translateY(100%); }
        100% { opacity: 1; transform: translateY(0); }
    }

    .chatbot-header {
        border-radius: 0 !important;
        padding: 16px !important;
        padding-top: max(16px, env(safe-area-inset-top)) !important;
    }

    .chatbot-input-area {
        padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
    }
}

/* ============================================
   MEDIUM SCREENS
   ============================================ */
@media (max-height: 700px) and (min-width: 481px) {
    .chatbot-panel {
        height: calc(100vh - 110px) !important;
        max-height: calc(100vh - 110px) !important;
        bottom: 90px !important;
    }
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */
@media (prefers-color-scheme: dark) {
    .chatbot-panel {
        background: var(--chat-gray-900) !important;
        border-color: var(--chat-gray-800) !important;
    }

    .chatbot-messages {
        background: var(--chat-dark) !important;
    }

    .chatbot-message-bot .message-bubble {
        background: var(--chat-gray-800) !important;
        border-color: var(--chat-gray-700) !important;
        color: var(--chat-gray-200) !important;
    }

    .chatbot-suggestions {
        background: var(--chat-gray-900) !important;
        border-color: var(--chat-gray-800) !important;
    }

    .chatbot-suggestion-chip {
        background: rgba(99, 102, 241, 0.15) !important;
        border-color: rgba(99, 102, 241, 0.25) !important;
    }

    .chatbot-input-area {
        background: var(--chat-gray-900) !important;
        border-color: var(--chat-gray-800) !important;
    }

    .chatbot-input-container {
        background: var(--chat-gray-800) !important;
        border-color: var(--chat-gray-700) !important;
    }

    .chatbot-input-container:focus-within {
        background: var(--chat-gray-800) !important;
    }

    .chatbot-input {
        color: var(--chat-gray-200) !important;
    }

    .chatbot-welcome {
        background: var(--chat-dark) !important;
    }

    .chatbot-welcome h4 {
        color: var(--chat-gray-200) !important;
    }

    .chatbot-topic-btn {
        background: var(--chat-gray-800) !important;
        border-color: var(--chat-gray-700) !important;
        color: var(--chat-gray-200) !important;
    }

    .chatbot-footer {
        background: var(--chat-gray-900) !important;
        border-color: var(--chat-gray-800) !important;
    }

    .chatbot-typing {
        background: var(--chat-dark) !important;
    }

    .chatbot-typing-bubble {
        background: var(--chat-gray-800) !important;
        border-color: var(--chat-gray-700) !important;
    }

    .chatbot-badge {
        border-color: var(--chat-gray-900) !important;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .chatbot-toggle,
    .chatbot-panel,
    .chatbot-message,
    .chatbot-suggestion-chip,
    .chatbot-send,
    .chatbot-close,
    .chatbot-topic-btn {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .chatbot-toggle .pulse-ring {
        display: none !important;
    }

    .chatbot-status-dot {
        animation: none !important;
    }

    .chatbot-welcome-icon {
        animation: none !important;
    }

    .chatbot-typing-bubble span {
        animation: none !important;
        opacity: 0.5 !important;
    }

    .chatbot-typing-bubble span:nth-child(2) {
        opacity: 0.7 !important;
    }

    .chatbot-typing-bubble span:nth-child(3) {
        opacity: 0.9 !important;
    }
}

/* Focus visible */
.chatbot-toggle:focus-visible,
.chatbot-close:focus-visible,
.chatbot-send:focus-visible,
.chatbot-suggestion-chip:focus-visible,
.chatbot-topic-btn:focus-visible,
.chatbot-feedback-btn:focus-visible {
    outline: 2px solid var(--chat-primary) !important;
    outline-offset: 2px !important;
}

.chatbot-input:focus-visible {
    outline: none !important;
}