/* Estilos apenas para a nova section #n8n-chat */

#n8n-chat #chat-messages .message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    word-wrap: break-word;
    animation: slideIn 0.3s ease;
    margin-bottom: 8px;
}

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

#n8n-chat .user-message {
    background: #3b82f6;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    margin-left: auto;
}

#n8n-chat .bot-message {
    background: #e5e7eb;
    color: #1f2937;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

#n8n-chat .typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: #e5e7eb;
    border-radius: 16px;
    width: fit-content;
    align-self: flex-start;
}

#n8n-chat .typing-dot {
    width: 8px;
    height: 8px;
    background: #6b7280;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

#n8n-chat .typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

#n8n-chat .typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Estilo do logo no header */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    header nav > div {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-container img {
        height: 2rem;
    }
    
    header ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}