/* © 2025 VEX LLC. All rights reserved. */
/* ===================================================================
   CHAT.CSS - VEXvet IA Chat Interface, Messages, Bubbles
   =================================================================== */

        /* VEXvet IA Chat */
        .chat-wrapper { display: flex; flex-direction: column; height: calc(100vh - 160px); }
        .chat-header { padding: 20px; background: white; border-bottom: 1px solid var(--border);
            display: flex; align-items: center; gap: 12px; }
        .chat-avatar { width: 48px; height: 48px; border-radius: 24px; background: var(--primary-light);
            display: flex; align-items: center; justify-content: center; font-size: 24px; }
        .chat-info h3 { font-size: 16px; font-weight: 600; color: var(--text); }
        .chat-info p { font-size: 12px; color: var(--text-light); }
        .chat-messages { flex: 1; overflow-y: auto; padding: 20px; background: #FAFAFA; }
        .chat-bubble { max-width: 80%; padding: 14px 18px; border-radius: 20px; margin-bottom: 12px;
            font-size: 15px; line-height: 1.6; }
        .chat-bubble.user { background: var(--primary); color: white; margin-left: auto;
            border-bottom-right-radius: 6px; }
        .chat-bubble.assistant { background: white; color: var(--text); border-bottom-left-radius: 6px;
            border: 1px solid var(--border); }
        .chat-time { font-size: 11px; color: var(--text-light); margin-top: 4px; text-align: right; }
        .chat-action { display: inline-block; margin-top: 8px; padding: 10px 20px; border-radius: 24px;
            background: var(--primary); color: white; font-size: 13px; font-weight: 600; cursor: pointer; }
        .chat-input-area { padding: 16px 20px; background: white; border-top: 1px solid var(--border);
            display: flex; gap: 10px; align-items: flex-end; }
        .chat-input-wrapper { flex: 1; display: flex; align-items: center; background: #F5F5F5;
            border-radius: 28px; padding: 6px 6px 6px 20px; }
        .chat-input { flex: 1; border: none; background: transparent; font-size: 16px; padding: 10px 0;
            font-family: inherit; outline: none; }
        .chat-attach { width: 40px; height: 40px; border-radius: 20px; border: none;
            background: transparent; font-size: 20px; cursor: pointer; color: var(--text-light); }
        .chat-send { width: 48px; height: 48px; border-radius: 24px; background: var(--primary);
            border: none; color: white; font-size: 20px; cursor: pointer; flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(75,123,245,0.35); }
        .chat-send:disabled { background: #E0E0E0; box-shadow: none; }
        .voice-btn { width: 48px; height: 48px; border-radius: 24px; background: var(--primary);
            border: none; color: white; font-size: 20px; cursor: pointer; }
        .voice-btn.recording { animation: pulse-voice 1s infinite; background: var(--danger); }
        @keyframes pulse-voice { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
        .media-preview { display: flex; gap: 8px; padding: 12px 20px; overflow-x: auto; }
        .media-thumb { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; position: relative; }
        .media-remove { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px;
            background: var(--danger); color: white; border-radius: 11px; font-size: 12px;
            display: flex; align-items: center; justify-content: center; cursor: pointer; }

        /* Fun Chat Suggestions */
        .chat-suggestions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding: 12px 0;
        }
        .chat-suggestion {
            padding: 10px 16px;
            background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
            border-radius: 20px;
            font-size: 13px;
            color: #7C3AED;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
        }
        .chat-suggestion:active {
            transform: scale(0.95);
            background: #7C3AED;
            color: white;
        }

        /* Fun VEXvet Avatar with expressions */
        .vexvet-avatar {
            width: 56px;
            height: 56px;
            border-radius: 28px;
            background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            position: relative;
            animation: avatarBounce 3s ease-in-out infinite;
        }
        @keyframes avatarBounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
        }
        .vexvet-status {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 14px;
            height: 14px;
            background: #22C55E;
            border: 2px solid white;
            border-radius: 7px;
        }
