.flow-content {
    padding: 24px;
}

.flow-item {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.15s ease;
}

.flow-item:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.flow-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.flow-source {
    font-size: 0.9375rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    padding: 10px 16px;
    background: hsl(var(--secondary));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    flex-shrink: 0;
    min-width: 220px;
}

.flow-arrow {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    flex-shrink: 0;
}

.flow-recipients {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.recipient-card {
    padding: 8px 12px;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.recipient-card:hover {
    background: hsl(var(--accent));
}

.recipient-email {
    color: hsl(var(--foreground));
}

.external-badge {
    background: hsl(217, 91%, 60%);
    color: white;
    padding: 2px 6px;
    border-radius: calc(var(--radius) - 4px);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.no-results {
    text-align: center;
    padding: 64px 24px;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.documentation-note {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid hsl(var(--border));
    background: hsl(var(--secondary));
    color: hsl(var(--foreground));
    font-size: 0.8125rem;
}

@media (max-width: 768px) {
    .flow-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .flow-source {
        min-width: 100%;
    }
}
