 html, body {
            height: 100%;
            min-height: 100vh;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', sans-serif;
            background: #f4f6fa;
            overflow: hidden;
        }

        .chat-container {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: 700px;
            height: 100%;
            min-height: 100vh;
            margin: 0 auto;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.06);
            overflow: hidden;
        }

        .chat-header {
            flex: 0 0 auto;
            background: linear-gradient(135deg, #1a237e, #3949ab);
            color: white;
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .chat-header i { font-size: 1.3rem; }
        .chat-header h4 { margin: 0; font-size: 1rem; }
        .chat-header small { font-size: 0.72rem; }

        .chat-body {
            flex: 1 1 auto;
            min-height: 0;
            overflow-y: auto;
            padding: 16px;
            font-size: 0.85rem;
        }

        .msg-user {
            background: #e3f2fd;
            border-left: 4px solid #1976d2;
            padding: 8px 14px;
            border-radius: 10px;
            margin-bottom: 10px;
            max-width: 90%;
            margin-left: auto;
            font-size: 0.85rem;
        }

        .msg-bot {
            background: #f1f8e9;
            border-left: 4px solid #689f38;
            padding: 8px 14px;
            border-radius: 10px;
            margin-bottom: 10px;
            white-space: pre-wrap;
            font-size: 0.85rem;
        }

        .msg-erro {
            background: #ffebee;
            border-left: 4px solid #c62828;
            color: #b71c1c;
            padding: 8px 14px;
            border-radius: 10px;
            margin-bottom: 10px;
            font-size: 0.85rem;
        }

        .digitando {
            font-size: 0.78rem;
            color: #888;
            padding: 4px 14px;
        }

        .chat-footer {
            flex: 0 0 auto;
            padding: 10px 16px;
            background: #fafafa;
            border-top: 1px solid #eee;
        }

        .input-group input {
            border-radius: 25px !important;
            padding-left: 16px;
            font-size: 0.85rem;
        }

        .input-group button {
            border-radius: 25px !important;
            font-size: 0.85rem;
            padding: 6px 18px;
        }

        .sugestoes {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 8px;
        }

        .sugestao {
            background: #e8eaf6;
            color: #283593;
            padding: 4px 10px;
            border-radius: 18px;
            font-size: 0.72rem;
            cursor: pointer;
            border: none;
        }

        .sugestao:hover { background: #c5cae9; }